diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-04-09 11:30:57 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-04-09 11:30:57 +0700 |
commit | 59fb998abb48df972a2ce399a8bacb2a5de06da2 (patch) | |
tree | 524c55afcc849475c31e3057482a430d6fadc63a /vim/.vim/vimrc | |
parent | 25f162ed00b2676dc521c055545f7ec279332061 (diff) | |
download | dotfiles-59fb998abb48df972a2ce399a8bacb2a5de06da2.tar.gz |
Update 2020-04-09
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 |