diff --git a/lua/lspconfig/configs/java_language_server.lua b/lua/lspconfig/configs/java_language_server.lua index 3ddf4b1b4c..cb0441618c 100644 --- a/lua/lspconfig/configs/java_language_server.lua +++ b/lua/lspconfig/configs/java_language_server.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig.util' return { default_config = { filetypes = { 'java' }, - root_dir = util.root_pattern('build.gradle', 'pom.xml', '.git'), + root_dir = util.root_pattern('build.gradle', 'build.gradle.kts', 'pom.xml', '.git'), settings = {}, }, docs = {