fix(config): type filter was broken for telescope symbols
This commit is contained in:
1 file changed
+3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user