diff options
author | rebuilt <[email protected]> | 2021-08-06 13:31:26 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-06 13:31:26 +0200 |
commit | ca750d8ff4b99def210d6c5d98078a77aa1970aa (patch) | |
tree | e96d2a7d9b1ce4c586d28d3d08ab4d583fb09b53 /lua/lsp/peek.lua | |
parent | 89ee39cfd571279b98c6681e47f68ca43a48c44b (diff) | |
parent | 9fc6a2e1cdac513c8ff09069263ff102852be86a (diff) |
Merge pull request #1251 from grvxs/fix-most-typos
[Doc]: Fix most typos
Diffstat (limited to 'lua/lsp/peek.lua')
-rw-r--r-- | lua/lsp/peek.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lsp/peek.lua b/lua/lsp/peek.lua index e512eee0..cc8e57a9 100644 --- a/lua/lsp/peek.lua +++ b/lua/lsp/peek.lua @@ -100,7 +100,7 @@ function M.set_cursor_to_prev_pos(winnr) local range = location.targetRange or location.range local cursor_pos = { range.start.line + 1, range.start.character } - -- Set the winnr to the floting window if none was passed in + -- Set the winnr to the floating window if none was passed in winnr = winnr or M.floating_win -- Set the cursor at the correct position in the floating window vim.api.nvim_win_set_cursor(winnr, cursor_pos) |