diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2020-01-18 10:57:08 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2020-01-18 10:57:08 +0700 |
commit | 825cbfc87e277254e585a7ea66f18a90967e61a3 (patch) | |
tree | c06f076f55d4ccdf7a4664f32fa1bd68d7b554a5 /vim | |
parent | 81c0c423013c29b962bc8607b1dd2ebdfaae71af (diff) | |
download | dotfiles-825cbfc87e277254e585a7ea66f18a90967e61a3.tar.gz |
Update 2020-01-18
Diffstat (limited to 'vim')
-rwxr-xr-x | vim/.vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
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 |