mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-25 10:18:47 +02:00
fix(config): type filter was broken for telescope symbols
This commit is contained in:
parent
c901640167
commit
e3075b05ef
1 changed files with 3 additions and 0 deletions
|
@ -221,6 +221,9 @@ function M.get_kind_filter(buf)
|
||||||
if M.kind_filter[ft] == false then
|
if M.kind_filter[ft] == false then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
if type(M.kind_filter[ft]) == "table" then
|
||||||
|
return M.kind_filter[ft]
|
||||||
|
end
|
||||||
---@diagnostic disable-next-line: return-type-mismatch
|
---@diagnostic disable-next-line: return-type-mismatch
|
||||||
return type(M.kind_filter) == "table" and type(M.kind_filter.default) == "table" and M.kind_filter.default or nil
|
return type(M.kind_filter) == "table" and type(M.kind_filter.default) == "table" and M.kind_filter.default or nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue