diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-05-30 14:59:12 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-05-30 14:59:12 +0700 |
commit | 7f29a1e519d51934ecf86ddd6fc7d080b2eaaf91 (patch) | |
tree | 2c3dc15e5882fdd61636d714cc877727f2261970 /vim | |
parent | e36712f2b02e77080e255c7775852577b51010ad (diff) | |
download | dotfiles-7f29a1e519d51934ecf86ddd6fc7d080b2eaaf91.tar.gz |
Set up mbsync
Diffstat (limited to 'vim')
-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'} |