diff options
| author | anand <anand.panchdhari@gmail.com> | 2026-04-05 16:47:53 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2026-04-05 16:47:53 +0530 |
| commit | 76f6235bcd178cc5c28cc4fbf0d09fafb1f63a9b (patch) | |
| tree | 8d248824df3cacdfef1789d3663175bce48d05b5 /nvim/lsp/kotlin_language_server.lua | |
| parent | 50525874363953113aa715ea519d179e9c87bbd0 (diff) | |
some changes
Diffstat (limited to 'nvim/lsp/kotlin_language_server.lua')
| -rwxr-xr-x | nvim/lsp/kotlin_language_server.lua | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/nvim/lsp/kotlin_language_server.lua b/nvim/lsp/kotlin_language_server.lua deleted file mode 100755 index d70afa7..0000000 --- a/nvim/lsp/kotlin_language_server.lua +++ /dev/null @@ -1,41 +0,0 @@ ----@brief ---- ---- A kotlin language server which was developed for internal usage and ---- released afterwards. Maintaining is not done by the original author, ---- but by fwcd. ---- ---- It is built via gradle and developed on github. ---- Source and additional description: ---- https://github.com/fwcd/kotlin-language-server ---- ---- This server requires vim to be aware of the kotlin-filetype. ---- You could refer for this capability to: ---- https://github.com/udalov/kotlin-vim (recommended) ---- Note that there is no LICENSE specified yet. ---- ---- For faster startup, you can setup caching by specifying a storagePath ---- in the init_options. The default is your home directory. - ---- The presence of one of these files indicates a project root directory --- --- These are configuration files for the various build systems supported by --- Kotlin. I am not sure whether the language server supports Ant projects, --- but I'm keeping it here as well since Ant does support Kotlin. -local root_files = { - 'settings.gradle', -- Gradle (multi-project) - 'settings.gradle.kts', -- Gradle (multi-project) - 'build.xml', -- Ant - 'pom.xml', -- Maven - 'build.gradle', -- Gradle - 'build.gradle.kts', -- Gradle -} - -return { - filetypes = { 'kotlin' }, - root_markers = root_files, - cmd = { 'kotlin-language-server' }, - init_options = { - -- Enables caching and use project root to store cache data. - storagePath = vim.fs.root(vim.fn.expand '%:p:h', root_files), - }, -} |
