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", "Interface",
"Method", "Method",
"Module", "Module",
"Namespace",
"Package",
"Property", "Property",
"Struct", "Struct",
"Trait", "Trait",
}, },
-- you can specify a different filter for each filetype -- you can specify a different filter for each filetype
-- lua = { lua = {
-- "Function", "Class",
-- }, "Constructor",
"Enum",
"Field",
"Function",
"Interface",
"Method",
"Module",
"Namespace",
-- "Package", -- remove package since luals uses it for control flow structures
"Property",
"Struct",
"Trait",
},
}, },
} }