about summary refs log tree commit diff
path: root/vim/.vim/vimrc
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-27 20:09:50 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-27 20:09:50 +0700
commit9cef11d0147e1c66c3145962a0ae1b88b511ffb3 (patch)
tree883c39591a05a73c25601b6d7889ddaa5b2d83d7 /vim/.vim/vimrc
parent6b9a1b1a3de10899b87a8a2c6e4074341d29cd02 (diff)
downloaddotfiles-9cef11d0147e1c66c3145962a0ae1b88b511ffb3.tar.gz
Update 2019-09-27
Diffstat (limited to 'vim/.vim/vimrc')
-rwxr-xr-xvim/.vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index 782786c..f2a5003 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -21,6 +21,7 @@ autocmd FileType c,h,go,glsl setlocal cindent cinoptions=(0 noexpandtab shiftwid
 autocmd FileType rst setlocal shiftwidth=3
 autocmd FileType css,javascript,python,perl6 setlocal shiftwidth=4
 autocmd FileType python syntax keyword pythonBoolean False True None
+autocmd FileType java setlocal omnifunc=javacomplete#Complete
 let g:jedi#popup_on_dot = 0
 let g:jedi#popup_select_first = 0
 let g:jedi#show_call_signatures = 2
@@ -37,7 +38,8 @@ Plug 'https://github.com/tpope/vim-abolish.git'
 Plug 'https://github.com/alx741/vinfo.git'
 Plug 'https://github.com/drmikehenry/vim-fontsize.git'
 Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'}
-Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'}
+Plug 'https://github.com/kovisoft/slimv.git', {'for': 'lisp'}
+Plug 'https://github.com/artur-shaik/vim-javacomplete2.git', {'for': 'java'}
 call plug#end()
 
 set t_Co=256