Skip to content

Commit

Permalink
Keep mvnw and gradlew for root project recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
imbacraft committed Jun 2, 2024
1 parent fd488c0 commit 2dfac26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nvim/lua/pluginconfigs/jdtls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ local java_cmds = vim.api.nvim_create_augroup('java_cmds', { clear = true })
local cache_vars = {}

local root_markers = {
'.git', -- If you have a git project, this marker only is preferred for the best project recognition.
'.git', -- These markers are preferred for the best root project recognition.
'mvnw',
'gradlew',

-- Otherwise, you can use these root markers to identify your project
-- 'mvnw',
-- 'gradlew',
-- Otherwise, you can use these root markers to identify your project also
-- 'pom.xml',
-- 'build.gradle',
}
Expand Down

0 comments on commit 2dfac26

Please sign in to comment.