feat: Auto-resize and re-position preview

Only for auto-preview.
This commit is contained in:
hedy
2023-11-30 10:02:01 +08:00
parent a7bc96bb06
commit 4bbecbb92e
5 changed files with 70 additions and 10 deletions

View File

@@ -227,9 +227,9 @@ function M.should_include_symbol(kind, bufnr)
end
end
-- XXX: If the given kind is not known by outline.nvim (ie: not in
-- all_kinds), still return true. Only exclude those symbols that were
-- explicitly filtered out.
-- If the given kind is not known by outline.nvim (ie: not in all_kinds),
-- still return true. Only exclude those symbols that were explicitly
-- filtered out.
return filter_table[kind] ~= false
end