feat(lsp_references): expose include_declaration option (default still true) (#1449)

This commit is contained in:
tami5
2022-03-11 14:46:29 +03:00
committed by GitHub
parent d331433ed8
commit 1c4cd6cdaa
3 changed files with 15 additions and 9 deletions

View File

@@ -365,6 +365,7 @@ builtin.lsp_definitions = require_on_exported_call("telescope.builtin.lsp").defi
---@param opts table: options to pass to the picker
---@field jump_type string: how to goto definition if there is only one, values: "tab", "split", "vsplit", "never"
---@field ignore_filename boolean: dont show filenames (default: true)
---@field include_declaration boolean: include symbol declaration in the lsp references (default: true)
builtin.lsp_type_definitions = require("telescope.builtin.lsp").type_definitions
--- Goto the implementation of the word under the cursor if there's only one, otherwise show all options in Telescope