feat(kotlin): Replace current custom kotlin installation with LspInstall kotlin (#518)

This commit is contained in:
Marek Filipowicz 2021-06-26 20:25:20 +02:00 committed by GitHub
parent b3cd29f863
commit 60175ee0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -15,13 +15,13 @@ require'lspconfig/configs'.jdtls = nil -- important, unset the loaded config aga
-- uninstall_script = nil -- can be omitted
-- })
require'lspinstall/servers'.kotlin = vim.tbl_extend('error', config, {
install_script = [[
git clone https://github.com/fwcd/kotlin-language-server.git language-server
cd language-server
./gradlew :server:installDist
]],
uninstall_script = nil -- can be omitted
})
-- require'lspinstall/servers'.kotlin = vim.tbl_extend('error', config, {
-- install_script = [[
-- git clone https://github.com/fwcd/kotlin-language-server.git language-server
-- cd language-server
-- ./gradlew :server:installDist
-- ]],
-- uninstall_script = nil -- can be omitted
-- })
require'lspinstall'.setup()