From bfd59f83b7af16541e8b70c1321470c65131ae29 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 22 Dec 2020 19:57:44 +0700 Subject: Update 2020-12-22 --- vim/.vim/vimrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vim/.vim/vimrc') diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 92d3777..fce91f9 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -18,11 +18,10 @@ set diffopt+=algorithm:patience augroup vimrc autocmd! autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal - autocmd BufNewFile,BufRead *.sql setlocal filetype=mysql autocmd BufNewFile,BufRead *.m setlocal filetype=octave autocmd FileType asm,c,h,go,glsl,sshconfig,php \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 tabstop=8 - autocmd FileType vim,sh,lua,tex,cmake,cpp,plantuml,mysql,html,octave,pascal + autocmd FileType vim,sh,lua,tex,cmake,cpp,plantuml,html,octave,pascal \ setlocal shiftwidth=2 autocmd FileType rst setlocal shiftwidth=3 autocmd FileType java setlocal omnifunc=javacomplete#Complete @@ -49,12 +48,12 @@ Plug 'https://github.com/francoiscabrol/ranger.vim' Plug 'https://github.com/sheerun/vim-polyglot' Plug 'https://github.com/srcery-colors/srcery-vim' Plug 'https://github.com/knsh14/vim-github-link' -Plug 'https://github.com/goerz/jupytext.vim' Plug 'https://github.com/lervag/vimtex', {'for': 'tex'} Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'} Plug 'https://github.com/anntzer/vim-cython', {'for': 'cython'} Plug 'https://github.com/racer-rust/vim-racer', {'for': 'rust'} Plug 'https://github.com/rhysd/rust-doc.vim', {'for': 'rust'} +Plug 'https://github.com/artur-shaik/vim-javacomplete2', {'for': 'java'} call plug#end() source /usr/share/doc/fzf/examples/fzf.vim -- cgit 1.4.1