summaryrefslogtreecommitdiffstats
path: root/.config/nvim/langs.vim
blob: f81affa4621632691d33ba31ae9545b8861f3c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
let g:asmsyntax = 'asm'
let perl_include_pod = 1
autocmd BufNewFile,BufRead *.c
			\ set
			\ filetype=c
			\ cinoptions+=t0
autocmd BufNewFile,BufRead *.h
			\ set
			\ filetype=c
			\ cinoptions+=t0
autocmd BufNewFile,BufRead *.cxx
			\ set
			\ filetype=cpp
			\ cinoptions+=t0
autocmd BufNewFile,BufRead *.hxx
			\ set
			\ filetype=cpp
			\ cinoptions+=t0
autocmd FileType fish
			\ compiler fish
autocmd FileType perl
			\  setlocal com-=:# kp=perldoc\ -f
			\| compiler perl
let g:perl_compiler_force_warnings = 1