neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: kotlin

Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>

+24
+23
lsp/kotlin_lsp.lua
··· 1 + ---@brief 2 + ---Pre-alpha official Kotlin support for Visual Studio Code and an implementation of Language Server Protocol for the Kotlin language. 3 + --- 4 + ---The server is based on IntelliJ IDEA and the IntelliJ IDEA Kotlin Plugin implementation. 5 + 6 + --- The presence of one of these files indicates a project root directory 7 + -- 8 + -- These are configuration files for the various build systems supported by 9 + -- Kotlin. 10 + 11 + ---@type vim.lsp.Config 12 + return { 13 + filetypes = { 'kotlin' }, 14 + cmd = { 'kotlin-lsp', '--stdio' }, 15 + root_markers = { 16 + 'settings.gradle', -- Gradle (multi-project) 17 + 'settings.gradle.kts', -- Gradle (multi-project) 18 + 'pom.xml', -- Maven 19 + 'build.gradle', -- Gradle 20 + 'build.gradle.kts', -- Gradle 21 + 'workspace.json', -- Used to integrate your own build system 22 + }, 23 + }
+1
lua/plugins/conform.lua
··· 28 28 ["swift"] = { "swiftformat" }, 29 29 ["rust"] = { "rustfmt", lsp_format = "fallback" }, 30 30 ["janet"] = { "janet_format" }, 31 + ["kotlin"] = { "ktfmt" }, 31 32 }, 32 33 formatters = { 33 34 injected = { options = { ignore_errors = true } },