From 66fbfab34ff74fad6e2da45b8fb02d2df3712bb9 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Nov 2020 13:22:31 +0100 Subject: Fat update --- .config/nvim/langs.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.config/nvim/langs.vim') diff --git a/.config/nvim/langs.vim b/.config/nvim/langs.vim index cc441cd..26b96d7 100644 --- a/.config/nvim/langs.vim +++ b/.config/nvim/langs.vim @@ -1,5 +1,13 @@ let g:asmsyntax = 'asm' let perl_include_pod = 1 +autocmd BufNewFile,BufRead *.h + \ set filetype=c +autocmd BufNewFile,BufRead *.c + \ set filetype=c +autocmd BufNewFile,BufRead *.cxx + \ set filetype=cpp +autocmd BufNewFile,BufRead *.hxx + \ set filetype=cpp autocmd FileType fish \ compiler fish autocmd FileType perl -- cgit v1.2.3