diff options
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-x | vim/.vim/vimrc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 5f5751b..56a99fe 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -19,14 +19,15 @@ autocmd! autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal autocmd BufNewFile,BufRead *.m setlocal filetype=octave autocmd FileType asm,c,h,go,glsl -\ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 -autocmd FileType vim,sh,lua,tex,cpp,html,octave,pascal setlocal shiftwidth=2 + \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 +autocmd FileType vim,sh,lua,tex,cmake,cpp,html,octave,pascal + \ setlocal shiftwidth=2 autocmd FileType rst setlocal shiftwidth=3 autocmd FileType java setlocal omnifunc=javacomplete#Complete autocmd FileType python,cython -\ let w:m1=matchadd('ColorColumn', '\%<80v.\%>73v', -1) + \ let w:m1=matchadd('ColorColumn', '\%<80v.\%>73v', -1) autocmd BufWinEnter * if !exists('w:m1') | -\ let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) | endif + \ let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) | endif let g:srcery_italic=1 let g:jedi#popup_on_dot = 0 |