From 5979d476930a6128e86b87f7428975b2b21047c6 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sun, 31 Aug 2014 22:53:43 +0200 Subject: [PATCH] Replace YouCompleteMe with neocomplcache --- .gitmodules | 6 +++--- vim/bundle/YouCompleteMe | 1 - vim/bundle/neocomplcache.vim | 1 + vimrc | 7 ++++++- 4 files changed, 10 insertions(+), 5 deletions(-) delete mode 160000 vim/bundle/YouCompleteMe create mode 160000 vim/bundle/neocomplcache.vim diff --git a/.gitmodules b/.gitmodules index bc5a12c..9f01f3f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,6 +13,6 @@ [submodule "vim/bundle/vim-colors-solarized"] path = vim/bundle/vim-colors-solarized url = git@github.com:altercation/vim-colors-solarized -[submodule "vim/bundle/YouCompleteMe"] - path = vim/bundle/YouCompleteMe - url = git@github.com:Valloric/YouCompleteMe.git +[submodule "vim/bundle/neocomplcache.vim"] + path = vim/bundle/neocomplcache.vim + url = git@github.com:Shougo/neocomplcache.vim.git diff --git a/vim/bundle/YouCompleteMe b/vim/bundle/YouCompleteMe deleted file mode 160000 index af0fdef..0000000 --- a/vim/bundle/YouCompleteMe +++ /dev/null @@ -1 +0,0 @@ -Subproject commit af0fdef1b91717d74e11718eb0ce9a49b061348a diff --git a/vim/bundle/neocomplcache.vim b/vim/bundle/neocomplcache.vim new file mode 160000 index 0000000..2374429 --- /dev/null +++ b/vim/bundle/neocomplcache.vim @@ -0,0 +1 @@ +Subproject commit 237442924ac366015e6e0a8a13a31ac37be0c696 diff --git a/vimrc b/vimrc index 600c67b..6db4a2e 100644 --- a/vimrc +++ b/vimrc @@ -1,7 +1,12 @@ execute pathogen#infect() syntax on filetype plugin indent on -let g:SuperTabDefaultCompletionType = 'context' +let g:EclimCompletionMethod = 'omnifunc' + +if !exists('g:neocomplcache_force_omni_patterns') + let g:neocomplcache_force_omni_patterns = {} +endif +let g:neocomplcache_force_omni_patterns.java = '\k\.\k*' set t_Co=256 set background=dark