diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-04 23:24:55 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-04 23:24:55 +0100 |
commit | 92c9a37efd8e86578f6c3da7893dbc3fa61164c8 (patch) | |
tree | 54807bb7b159e179ffa5906bb4ec2bc9f1456739 /files/vim | |
parent | 17de4f0a547e1694a2be308394fe52278282c93e (diff) | |
download | configs-92c9a37efd8e86578f6c3da7893dbc3fa61164c8.tar.gz configs-92c9a37efd8e86578f6c3da7893dbc3fa61164c8.zip |
Organized filetypes settings in .vimrc.
Diffstat (limited to 'files/vim')
-rw-r--r-- | files/vim/.vimrc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/files/vim/.vimrc b/files/vim/.vimrc index 18f52e6..f7c3b76 100644 --- a/files/vim/.vimrc +++ b/files/vim/.vimrc @@ -24,7 +24,6 @@ call plug#end() " Basic settings set nocompatible -filetype indent plugin on set encoding=utf-8 set number relativenumber set tabstop=4 @@ -45,6 +44,13 @@ highlight ColorColumn ctermbg=darkblue ctermfg=black "highlight ColorColumn ctermbg=red ctermfg=blue "exec 'set colorcolumn='.join(range(2,80,3), ',') +" Filetypes +filetype indent plugin on +au BufRead,BufNewFile *.pu set filetype=plantuml +au BufRead,BufNewFile *.puml set filetype=plantuml +au BufRead,BufNewFile *.g set filetype=antlr3 +au BufRead,BufNewFile *.g4 set filetype=antlr4 + " hlnext: Highlighting searches nnoremap <silent> n n:call HLNext(0.1)<CR> nnoremap <silent> N N:call HLNext(0.1)<CR> |