feat(nvim/lsp): kotlin-lsp
REF: https://github.com/Kotlin/kotlin-lsp/blob/main/scripts/neovim.md
This commit is contained in:
parent
11e8e97762
commit
308a2a24e2
1 changed files with 8 additions and 0 deletions
|
@ -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,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue