feat(config): better kind filter default for lua to deal with luals weirdness

This commit is contained in:
Folke Lemaitre 2023-10-12 11:14:23 +02:00
parent a4e393154f
commit f64039f546

View file

@ -95,14 +95,28 @@ local defaults = {
"Interface",
"Method",
"Module",
"Namespace",
"Package",
"Property",
"Struct",
"Trait",
},
-- you can specify a different filter for each filetype
-- lua = {
-- "Function",
-- },
lua = {
"Class",
"Constructor",
"Enum",
"Field",
"Function",
"Interface",
"Method",
"Module",
"Namespace",
-- "Package", -- remove package since luals uses it for control flow structures
"Property",
"Struct",
"Trait",
},
},
}