feat: LSP for Kotlin
This commit is contained in:
parent
70f2ee8bbe
commit
6f9f1b5b5f
1 changed files with 9 additions and 0 deletions
|
@ -16,9 +16,15 @@ return {
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
|
-- >> Kotlin
|
||||||
|
"kotlin_language_server",
|
||||||
|
-- << Kotlin
|
||||||
|
|
||||||
|
-- >> Python
|
||||||
"pyright",
|
"pyright",
|
||||||
-- "ruff",
|
-- "ruff",
|
||||||
-- "ruff_lsp",
|
-- "ruff_lsp",
|
||||||
|
-- << Python
|
||||||
},
|
},
|
||||||
automatic_installation = { exclude = { "rust_analyzer" } },
|
automatic_installation = { exclude = { "rust_analyzer" } },
|
||||||
},
|
},
|
||||||
|
@ -74,6 +80,9 @@ return {
|
||||||
lsp.pyright.setup({
|
lsp.pyright.setup({
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
lsp.kotlin_language_server.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
})
|
||||||
lsp.rust_analyzer.setup({
|
lsp.rust_analyzer.setup({
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue