summaryrefslogtreecommitdiff
path: root/lua/telescope/builtin/init.lua
diff options
context:
space:
mode:
authortami5 <kkharji@protonmail.com>2022-03-11 14:46:29 +0300
committerGitHub <noreply@github.com>2022-03-11 12:46:29 +0100
commit1c4cd6cdaa321a50f6a84a6381421d4fda47d767 (patch)
treee177baafd7ef646fc8155a442f072225e668b37a /lua/telescope/builtin/init.lua
parentd331433ed82f68beb54135a5b7f9ef02e90a0ade (diff)
feat(lsp_references): expose include_declaration option (default still true) (#1449)
Diffstat (limited to 'lua/telescope/builtin/init.lua')
-rw-r--r--lua/telescope/builtin/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua
index 1edf1c8..ed65a45 100644
--- a/lua/telescope/builtin/init.lua
+++ b/lua/telescope/builtin/init.lua
@@ -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