artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
973 stars 83 forks source link

Autocomplete auto show #424

Closed morkovkin closed 5 years ago

morkovkin commented 5 years ago

Hello! i'm beginner to use vim. Can you help me? im install NVIM v0.3.7 on my mac 10.14.5 and successful integrate vim-javacomplete2. But i don't understand autocomplete window shown only after c-x c-o or it's can work like in Idea (when start typing start showing)?In gif animation in read me file work fine, but in my case i must use keys to show window with scan results Thank you very much!

this is my vimrc

" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/scrooloose/nerdtree'
Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'
Plug 'udalov/kotlin-vim'
Plug 'artur-shaik/vim-javacomplete2'
call plug#end()

let g:python_host_prog = '/usr/local/bin/python2'
" disable default settings
"let g:JavaComplete_EnableDefaultMappings = 0
let g:JavaComplete_GradleExecutable = 'gradle'
let g:JavaComplete_AutoStartServer = 1

autocmd FileType java setlocal omnifunc=javacomplete#Complete

set nu

nnoremap <bs> :NERDTreeToggle<CR>
nnoremap <c-p> :FZF<cr>
artur-shaik commented 5 years ago

Duplicate #305 ?

morkovkin commented 5 years ago

yeah sorry!