diff options
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/langs.vim | 4 | ||||
-rw-r--r-- | .config/nvim/settings.vim | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/nvim/langs.vim b/.config/nvim/langs.vim index f81affa..e70d714 100644 --- a/.config/nvim/langs.vim +++ b/.config/nvim/langs.vim @@ -3,19 +3,15 @@ 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 diff --git a/.config/nvim/settings.vim b/.config/nvim/settings.vim index 6cbc124..71fb2da 100644 --- a/.config/nvim/settings.vim +++ b/.config/nvim/settings.vim @@ -1,5 +1,8 @@ set noautochdir set bg=dark +set cindent +set cinoptions=>s,e0,n0,f0,{0,}0,^0,L-1,:s,=s,l1,b0,gs,h0,N0,E0,p0,t0,i0,+s +set cinoptions+=c1,C0,/0,(s,us,U0,w0,Ws,k0,m1,M0,)20,*70,#0 set clipboard^=unnamedplus set cursorline set encoding=utf-8 @@ -8,6 +11,7 @@ set hidden set makeprg=gmake set mouse=a set nocompatible +set noexpandtab set nohlsearch set number set shiftwidth=4 |