Goal
- Code autocompletion for Groovy in Vim with LSP
What I did
- add plugin
- configure personal settings (vi ~/.vimrc)
Problem
- No proposals about groovy class in the autocomplete popup menu
- I found an example for coc.nvim but not for vim-lsp
Solution
- run :LspSettingsGlobalEdit and write as follows
{ "groovy-language-server": { "workspace_config": { "groovy": { "classpath": [ "/path/to/groovy/4.0.1/lib", "/path/to/personal/.groovy/lib" ] } } } }