neovim configuration using rocks.nvim plugin manager
at main 23 lines 788 B view raw
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 12return { 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}