diff options
| author | Ole Strøhm <Strohm99@gmail.com> | 2022-01-09 18:47:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 18:47:19 +0100 |
| commit | 24046b2361d9591b3381f31f38f24ef8e85b2f8f (patch) | |
| tree | 25a8aaae56c7b3e63ade9edba4472d7f862e6f9e | |
| parent | 1bb5d5567f4e4db8e71d692ed2cf3d1d82dcf092 (diff) | |
fix: documentation for lsp_range_code_actions (#1644)
| -rw-r--r-- | doc/telescope.txt | 4 | ||||
| -rw-r--r-- | lua/telescope/builtin/init.lua | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index 0c1f33d..ea3126c 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -1395,7 +1395,9 @@ builtin.lsp_range_code_actions({opts}) *builtin.lsp_range_code_actions()* Options: ~ {timeout} (number) timeout for the sync call (default: 10000) - {start_line} (number) where the code action ends (default: handled by + {start_line} (number) where the code action starts (default: handled + by :'<,'>Telescope lsp_range_code_actions) + {end_line} (number) where the code action ends (default: handled by :'<,'>Telescope lsp_range_code_actions) diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua index dec34f0..7834da1 100644 --- a/lua/telescope/builtin/init.lua +++ b/lua/telescope/builtin/init.lua @@ -400,7 +400,7 @@ builtin.lsp_code_actions = require_on_exported_call("telescope.builtin.lsp").cod ---@param opts table: options to pass to the picker ---@field timeout number: timeout for the sync call (default: 10000) ---@field start_line number: where the code action starts (default: handled by :'<,'>Telescope lsp_range_code_actions) ----@field start_line number: where the code action ends (default: handled by :'<,'>Telescope lsp_range_code_actions) +---@field end_line number: where the code action ends (default: handled by :'<,'>Telescope lsp_range_code_actions) builtin.lsp_range_code_actions = require_on_exported_call("telescope.builtin.lsp").range_code_actions --- Lists LSP document symbols in the current buffer |
