mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-10 17:34:34 +02:00
feat(config): better kind filter default for lua to deal with luals weirdness
This commit is contained in:
parent
a4e393154f
commit
f64039f546
1 changed files with 17 additions and 3 deletions
|
@ -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",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue