refactor: adapt to deprecated jump_to_location (#3344)

This commit is contained in:
Tristan Knight
2024-10-29 01:22:28 +00:00
committed by GitHub
parent f06e7a8871
commit 85922dde37
3 changed files with 14 additions and 13 deletions

View File

@@ -442,7 +442,7 @@ files.treesitter = function(opts)
end
results = utils.filter_symbols(results, opts)
if results == nil then
if vim.tbl_isempty(results) then
-- error message already printed in `utils.filter_symbols`
return
end