-
Notifications
You must be signed in to change notification settings - Fork 305
Servers Groovy
sciencesakura edited this page Apr 8, 2020
·
2 revisions
- Java 8+
mkdir ~/lsp
cd ~/lsp
git clone https://github.com/prominic/groovy-language-server.git
cd ~/lsp/groovy-language-server
./gradlew build
if executable('java') && filereadable(expand('$HOME/lsp/groovy-language-server/build/libs/groovy-language-server-all.jar'))
autocmd User lsp_setup call lsp#register_server({
\'name': 'groovy-language-server',
\'cmd': {server_info->[
\ 'java',
\ '-jar',
\ expand('$HOME/lsp/groovy-language-server/build/libs/groovy-language-server-all.jar')
\]},
\'whitelist': ['groovy']
\})
endif