Skip to content

Commit

Permalink
fix(jdtls): update root dir (#2693)
Browse files Browse the repository at this point in the history
multi-module projects first.
  • Loading branch information
nzlov committed May 8, 2024
1 parent ba34c39 commit a3d9395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/lspconfig/server_configurations/jdtls.lua
Expand Up @@ -77,15 +77,15 @@ local function on_language_status(_, result)
end

local root_files = {
-- Multi-module projects
{ '.git', 'build.gradle', 'build.gradle.kts' },
-- Single-module projects
{
'build.xml', -- Ant
'pom.xml', -- Maven
'settings.gradle', -- Gradle
'settings.gradle.kts', -- Gradle
},
-- Multi-module projects
{ 'build.gradle', 'build.gradle.kts' },
}

return {
Expand Down

0 comments on commit a3d9395

Please sign in to comment.