feat(extras): added recommended detectors for all languages

This commit is contained in:
Folke Lemaitre 2024-05-18 14:39:20 +02:00
parent 03ea7f6f98
commit c29213416b
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
18 changed files with 132 additions and 0 deletions

View file

@ -16,6 +16,20 @@ local function extend_or_override(config, custom, ...)
end
return {
recommended = function()
return LazyVim.extras.wants({
ft = "java",
root = {
"build.gradle",
"build.gradle.kts",
"build.xml", -- Ant
"pom.xml", -- Maven
"settings.gradle", -- Gradle
"settings.gradle.kts", -- Gradle
},
})
end,
-- Add java to treesitter.
{
"nvim-treesitter/nvim-treesitter",