From 825cbfc87e277254e585a7ea66f18a90967e61a3 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sat, 18 Jan 2020 10:57:08 +0700 Subject: Update 2020-01-18 --- vim/.vim/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vim/.vim/vimrc') diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 9046c06..e544c5a 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -14,9 +14,10 @@ set ignorecase infercase dictionary=/usr/share/dict/words set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1 set omnifunc=syntaxcomplete#Complete set diffopt+=algorithm:patience -autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal autocmd BufNewFile,BufRead *.m setlocal filetype=octave +autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) +autocmd FileType python,cython let w:m1=matchadd('ColorColumn', '\%<80v.\%>73v', -1) autocmd FileType c,h,go,glsl setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 autocmd FileType rst setlocal shiftwidth=3 autocmd FileType css,javascript,python,perl6 setlocal shiftwidth=4 @@ -39,6 +40,7 @@ Plug 'https://github.com/tpope/vim-abolish.git' Plug 'https://github.com/alx741/vinfo.git' Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'} Plug 'https://github.com/kovisoft/slimv.git', {'for': 'lisp'} +Plug 'https://github.com/anntzer/vim-cython.git', {'for': 'cython'} Plug 'https://github.com/artur-shaik/vim-javacomplete2.git', {'for': 'java'} call plug#end() source /usr/share/doc/fzf/examples/fzf.vim -- cgit 1.4.1