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

@@ -428,6 +428,7 @@ builtin.lsp_workspace_symbols = require_on_exported_call("telescope.builtin.lsp"
---@param opts table: options to pass to the picker
---@field ignore_filename boolean: dont show filenames (default: false)
---@field show_line boolean: if true, shows the content of the line the symbol is found on (default: false)
---@field symbols string|table: filter results by symbol kind(s)
---@field symbol_highlights table: string -> string. Matches symbol with hl_group
builtin.lsp_dynamic_workspace_symbols = require_on_exported_call("telescope.builtin.lsp").dynamic_workspace_symbols