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 b1d456cda7
commit 50a358bc1e
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

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",
},
},
}