-
Notifications
You must be signed in to change notification settings - Fork 306
Servers Kotlin
sciencesakura edited this page Aug 27, 2020
·
5 revisions
- Java 8+
mkdir -p ~/lsp/kotlin-language-server
cd ~/lsp/kotlin-language-server
curl -L https://github.com/fwcd/kotlin-language-server/releases/download/0.7.0/server.zip -O
unzip server.zip
if executable(expand('~/lsp/kotlin-language-server/server/bin/kotlin-language-server'))
au User lsp_setup call lsp#register_server({
\ 'name': 'kotlin-language-server',
\ 'cmd': {server_info->[
\ &shell,
\ &shellcmdflag,
\ expand('~/lsp/kotlin-language-server/server/bin/kotlin-language-server')
\ ]},
\ 'whitelist': ['kotlin']
\ })
endif