diff --git a/src/tools/lsp/constants.ts b/src/tools/lsp/constants.ts index a37582d2..d5aada38 100644 --- a/src/tools/lsp/constants.ts +++ b/src/tools/lsp/constants.ts @@ -80,6 +80,7 @@ export const LSP_INSTALL_HINTS: Record = { tinymist: "See https://github.com/Myriad-Dreamin/tinymist", "haskell-language-server": "ghcup install hls", bash: "npm install -g bash-language-server", + "kotlin-ls": "See https://github.com/Kotlin/kotlin-lsp", } // Synced with OpenCode's server.ts @@ -246,6 +247,10 @@ export const BUILTIN_SERVERS: Record> = { command: ["haskell-language-server-wrapper", "--lsp"], extensions: [".hs", ".lhs"], }, + "kotlin-ls": { + command: ["kotlin-lsp"], + extensions: [".kt", ".kts"], + }, } // Synced with OpenCode's language.ts