···11+---@brief
22+---Pre-alpha official Kotlin support for Visual Studio Code and an implementation of Language Server Protocol for the Kotlin language.
33+---
44+---The server is based on IntelliJ IDEA and the IntelliJ IDEA Kotlin Plugin implementation.
55+66+--- The presence of one of these files indicates a project root directory
77+--
88+-- These are configuration files for the various build systems supported by
99+-- Kotlin.
1010+1111+---@type vim.lsp.Config
1212+return {
1313+ filetypes = { 'kotlin' },
1414+ cmd = { 'kotlin-lsp', '--stdio' },
1515+ root_markers = {
1616+ 'settings.gradle', -- Gradle (multi-project)
1717+ 'settings.gradle.kts', -- Gradle (multi-project)
1818+ 'pom.xml', -- Maven
1919+ 'build.gradle', -- Gradle
2020+ 'build.gradle.kts', -- Gradle
2121+ 'workspace.json', -- Used to integrate your own build system
2222+ },
2323+}