summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-04 18:35:17 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-04 18:35:17 +0100
commitb9a53ee5294b19ffc33a0a0ac568991f72b53586 (patch)
treebf5682fc7745b0615822ea68ea8ac605ab474154
parentMore extensible bspwm (diff)
downloaddotfiles-bsd-b9a53ee5294b19ffc33a0a0ac568991f72b53586.tar.gz
dotfiles-bsd-b9a53ee5294b19ffc33a0a0ac568991f72b53586.tar.bz2
dotfiles-bsd-b9a53ee5294b19ffc33a0a0ac568991f72b53586.tar.xz
dotfiles-bsd-b9a53ee5294b19ffc33a0a0ac568991f72b53586.tar.zst
dotfiles-bsd-b9a53ee5294b19ffc33a0a0ac568991f72b53586.zip
vim indent fix
-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