diff options
Diffstat (limited to 'lua/telescope/builtin/init.lua')
| -rw-r--r-- | lua/telescope/builtin/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua index ca02a00..cdf6b71 100644 --- a/lua/telescope/builtin/init.lua +++ b/lua/telescope/builtin/init.lua @@ -342,17 +342,31 @@ builtin.lsp_workspace_symbols = require('telescope.builtin.lsp').workspace_symbo builtin.lsp_dynamic_workspace_symbols = require('telescope.builtin.lsp').dynamic_workspace_symbols --- Lists LSP diagnostics for the current buffer +--- - Fields: +--- - `All severity flags can be passed as `string` or `number` as per `:vim.lsp.protocol.DiagnosticSeverity:` --- - Default keymaps: --- - `<C-l>`: show autocompletion menu to prefilter your query with the diagnostic you want to see (i.e. `:warning:`) ---@param opts table: options to pass to the picker ---@field hide_filename boolean: if true, hides the name of the file in the current picker (default is false) +---@field severity string|number: filter diagnostics by severity name (string) or id (number) +---@field severity_limit string|number: filter for diagnostics equal or more severe wrt severity name (string) or id (number) +---@field severity_bound string|number: filter for diagnostics equal or less severe wrt severity name (string) or id (number) +---@field no_sign bool: hide LspDiagnosticSigns from Results (default is false) +---@field line_width number: set length of diagnostic entry text in Results builtin.lsp_document_diagnostics = require('telescope.builtin.lsp').diagnostics --- Lists LSP diagnostics for the current workspace if supported, otherwise searches in all open buffers +--- - Fields: +--- - `All severity flags can be passed as `string` or `number` as per `:vim.lsp.protocol.DiagnosticSeverity:` --- - Default keymaps: --- - `<C-l>`: show autocompletion menu to prefilter your query with the diagnostic you want to see (i.e. `:warning:`) ---@param opts table: options to pass to the picker ---@field hide_filename boolean: if true, hides the name of the file in the current picker (default is false) +---@field severity string|number: filter diagnostics by severity name (string) or id (number) +---@field severity_limit string|number: filter for diagnostics equal or more severe wrt severity name (string) or id (number) +---@field severity_bound string|number: filter for diagnostics equal or less severe wrt severity name (string) or id (number) +---@field no_sign bool: hide LspDiagnosticSigns from Results (default is false) +---@field line_width number: set length of diagnostic entry text in Results builtin.lsp_workspace_diagnostics = require('telescope.builtin.lsp').workspace_diagnostics local apply_config = function(mod) |
