From a7a5d2b5193e63bd06c5e6d24de8a32a31a14cda Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 28 Nov 2016 20:45:40 +0100 Subject: vim: add vim-javacomplete2 --- .gitmodules | 3 +++ .vim/bundle/vim-javacomplete2 | 1 + .vimrc | 3 +++ 3 files changed, 7 insertions(+) create mode 160000 .vim/bundle/vim-javacomplete2 diff --git a/.gitmodules b/.gitmodules index 2f6e599..7ce405a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -49,3 +49,6 @@ [submodule ".vim/bundle/supertab"] path = .vim/bundle/supertab url = https://github.com/ervandew/supertab.git +[submodule ".vim/bundle/vim-javacomplete2"] + path = .vim/bundle/vim-javacomplete2 + url = https://github.com/artur-shaik/vim-javacomplete2.git diff --git a/.vim/bundle/vim-javacomplete2 b/.vim/bundle/vim-javacomplete2 new file mode 160000 index 0000000..5ab1d78 --- /dev/null +++ b/.vim/bundle/vim-javacomplete2 @@ -0,0 +1 @@ +Subproject commit 5ab1d78579d7e4e73bc25a8fd6689c8f8a435380 diff --git a/.vimrc b/.vimrc index c4d7b47..7528e55 100644 --- a/.vimrc +++ b/.vimrc @@ -116,3 +116,6 @@ let g:ctrlp_cmd = 'CtrlPMixed' " supertab let g:SuperTabDefaultCompletionType = "context" + +" javacomplete2 +autocmd FileType java setlocal omnifunc=javacomplete#Complete -- cgit v1.2.3-70-g09d2