diff options
| author | Hayden <22327045+hbjydev@users.noreply.github.com> | 2025-05-23 15:22:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-23 07:22:46 -0700 |
| commit | 384868d0be58a92c88f9fc4c4005d7518fcbb23a (patch) | |
| tree | e5cd4c4f3caaef6fe0dc8ad13f2e568f416510ce /lsp/kotlin_lsp.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-384868d0be58a92c88f9fc4c4005d7518fcbb23a.tar nvim-lspconfig-384868d0be58a92c88f9fc4c4005d7518fcbb23a.tar.gz nvim-lspconfig-384868d0be58a92c88f9fc4c4005d7518fcbb23a.tar.bz2 nvim-lspconfig-384868d0be58a92c88f9fc4c4005d7518fcbb23a.tar.lz nvim-lspconfig-384868d0be58a92c88f9fc4c4005d7518fcbb23a.tar.xz nvim-lspconfig-384868d0be58a92c88f9fc4c4005d7518fcbb23a.tar.zst nvim-lspconfig-384868d0be58a92c88f9fc4c4005d7518fcbb23a.zip | |
feat: add kotlin_lsp from jetbrains #3867
Diffstat (limited to 'lsp/kotlin_lsp.lua')
| -rw-r--r-- | lsp/kotlin_lsp.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lsp/kotlin_lsp.lua b/lsp/kotlin_lsp.lua new file mode 100644 index 00000000..a36faa8e --- /dev/null +++ b/lsp/kotlin_lsp.lua @@ -0,0 +1,21 @@ +---@brief +---Pre-alpha official Kotlin support for Visual Studio Code and an implementation of Language Server Protocol for the Kotlin language. +--- +---The server is based on IntelliJ IDEA and the IntelliJ IDEA Kotlin Plugin implementation. + +--- The presence of one of these files indicates a project root directory +-- +-- These are configuration files for the various build systems supported by +-- Kotlin. +return { + filetypes = { 'kotlin' }, + cmd = { 'kotlin-lsp', '--stdio' }, + root_markers = { + 'settings.gradle', -- Gradle (multi-project) + 'settings.gradle.kts', -- Gradle (multi-project) + 'pom.xml', -- Maven + 'build.gradle', -- Gradle + 'build.gradle.kts', -- Gradle + 'workspace.json', -- Used to integrate your own build system + }, +} |
