From 24046b2361d9591b3381f31f38f24ef8e85b2f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Str=C3=B8hm?= Date: Sun, 9 Jan 2022 18:47:19 +0100 Subject: [PATCH] fix: documentation for lsp_range_code_actions (#1644) --- doc/telescope.txt | 4 +++- 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