feat: filtering for dynamic workspace symbols (#1336)

* enable `symbols` filtering opt for builtin.dynamic_workspace_symbols
This commit is contained in:
fdschmidt93
2021-10-12 18:48:55 +02:00
committed by GitHub
parent 45051df61b
commit c19eae901c
3 changed files with 14 additions and 7 deletions

View File

@@ -1401,11 +1401,14 @@ builtin.lsp_dynamic_workspace_symbols({opts})*builtin.lsp_dynamic_workspace_symb
{opts} (table) options to pass to the picker
Options: ~
{ignore_filename} (boolean) dont show filenames (default: false)
{show_line} (boolean) if true, shows the content of the line
the symbol is found on (default: false)
{symbol_highlights} (table) string -> string. Matches symbol with
hl_group
{ignore_filename} (boolean) dont show filenames (default:
false)
{show_line} (boolean) if true, shows the content of the
line the symbol is found on
(default: false)
{symbols} (string|table) filter results by symbol kind(s)
{symbol_highlights} (table) string -> string. Matches symbol
with hl_group
builtin.lsp_document_diagnostics({opts}) *builtin.lsp_document_diagnostics()*