feat(treesitter): symbols & ignore symbols options (#2338)
* feat(treesitter): symbols & ignore symbols options * renamed the function passed to utils.filter_symbols --------- Co-authored-by: Maksym Klishevych <max@klishevy.ch>
This commit is contained in:
committed by
GitHub
parent
e504cf03c2
commit
942fe5faef
@@ -408,6 +408,12 @@ files.treesitter = function(opts)
|
||||
end
|
||||
end
|
||||
|
||||
results = utils.filter_symbols(results, opts)
|
||||
if results == nil then
|
||||
-- error message already printed in `utils.filter_symbols`
|
||||
return
|
||||
end
|
||||
|
||||
if vim.tbl_isempty(results) then
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user