feat(nvim/lsp): kotlin-lsp

REF: https://github.com/Kotlin/kotlin-lsp/blob/main/scripts/neovim.md
This commit is contained in:
Ahmad Ansori Palembani 2025-05-27 19:32:34 +07:00
parent 11e8e97762
commit 308a2a24e2
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -131,6 +131,14 @@ return {
}
},
}
-- REF: https://github.com/Kotlin/kotlin-lsp/blob/main/scripts/neovim.md
vim.lsp.config["kotlin-lsp"] = {
cmd = vim.lsp.rpc.connect('127.0.0.1', tonumber(9999)),
single_file_support = false,
filetypes = { "kotlin" },
root_markers = { "build.gradle", "build.gradle.kts", "pom.xml" },
}
vim.lsp.enable("kotlin-lsp")
end,
},
{