From 57154fd9a24e76907e3b0bdba4677ef42c88d91c Mon Sep 17 00:00:00 2001 From: Enaium <32991121+Enaium@users.noreply.github.com> Date: Sat, 28 Dec 2024 17:52:47 +0800 Subject: [PATCH] fix: add `build.gradle.kts` for java language server (#3528) --- lua/lspconfig/configs/java_language_server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {