aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2023-12-28 18:00:30 -0500
committerJongwook Choi <wookayin@gmail.com>2024-01-02 11:16:48 -0500
commit67f53323446d45bad7a22e92493f6402316a8ba1 (patch)
treea7bdbd34d5b69a8e8b02a11506337ec577bca281 /runtime/lua/vim/lsp/util.lua
parent1a31d4cf2b88e9f677d7a2f23b10e4dacf803a9d (diff)
downloadrneovim-67f53323446d45bad7a22e92493f6402316a8ba1.tar.gz
rneovim-67f53323446d45bad7a22e92493f6402316a8ba1.tar.bz2
rneovim-67f53323446d45bad7a22e92493f6402316a8ba1.zip
fix(docs): clean up non-docstring comments for vimdoc gen
These non-docstring comments can be included into doxygen's brief description and then appear in the succeeding function documentation.
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r--runtime/lua/vim/lsp/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index ba7ce3c2b6..44465f6cff 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -1069,7 +1069,7 @@ function M.show_document(location, offset_encoding, opts)
-- location may be Location or LocationLink
local range = location.range or location.targetSelectionRange
if range then
- --- Jump to new location (adjusting for encoding of characters)
+ -- Jump to new location (adjusting for encoding of characters)
local row = range.start.line
local col = get_line_byte_from_position(bufnr, range.start, offset_encoding)
api.nvim_win_set_cursor(win, { row + 1, col })