summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/nvim/langs.vim18
1 files changed, 13 insertions, 5 deletions
diff --git a/.config/nvim/langs.vim b/.config/nvim/langs.vim
index 26b96d7..f81affa 100644
--- a/.config/nvim/langs.vim
+++ b/.config/nvim/langs.vim
@@ -1,13 +1,21 @@
let g:asmsyntax = 'asm'
let perl_include_pod = 1
-autocmd BufNewFile,BufRead *.h
- \ set filetype=c
autocmd BufNewFile,BufRead *.c
- \ set filetype=c
+ \ set
+ \ filetype=c
+ \ cinoptions+=t0
+autocmd BufNewFile,BufRead *.h
+ \ set
+ \ filetype=c
+ \ cinoptions+=t0
autocmd BufNewFile,BufRead *.cxx
- \ set filetype=cpp
+ \ set
+ \ filetype=cpp
+ \ cinoptions+=t0
autocmd BufNewFile,BufRead *.hxx
- \ set filetype=cpp
+ \ set
+ \ filetype=cpp
+ \ cinoptions+=t0
autocmd FileType fish
\ compiler fish
autocmd FileType perl