diff options
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-x | vim/.vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 6d42ed5..acef708 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -22,7 +22,8 @@ augroup vimrc autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal autocmd BufNewFile,BufRead *.ms setlocal filetype=groff autocmd BufNewFile,BufRead *.m setlocal filetype=octave - autocmd FileType asm,c,h,go,glsl,sshconfig,php + autocmd BufNewFile,BufRead *.h setlocal filetype=c + autocmd FileType asm,c,h,gitconfig,gitsendemail,go,glsl,sshconfig,php \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 tabstop=8 autocmd FileType vim,sh,scheme,lua,tex,cmake,cpp,plantuml,html,octave,pascal \ setlocal shiftwidth=2 @@ -49,6 +50,7 @@ Plug 'https://github.com/vim/killersheep' Plug 'https://github.com/sheerun/vim-polyglot' Plug 'https://github.com/francoiscabrol/ranger.vim' Plug 'https://github.com/srcery-colors/srcery-vim' +Plug 'https://github.com/tpope/vim-unimpaired' Plug 'https://github.com/davidhalter/jedi-vim', {'for': 'python'} Plug 'https://github.com/lervag/vimtex', {'for': 'tex'} Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'} |