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
18 changed files with 132 additions and 0 deletions

View File

@ -1,4 +1,17 @@
return {
recommended = function()
return LazyVim.extras.wants({
ft = { "c", "cpp", "objc", "objcpp", "cuda", "proto" },
root = {
".clangd",
".clang-tidy",
".clang-format",
"compile_commands.json",
"compile_flags.txt",
"configure.ac", -- AutoTools
},
})
end,
-- Add C/C++ to treesitter
{