We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f75914d commit 0d1af5aCopy full SHA for 0d1af5a
autoload/lsp/ui/vim/references.vim
@@ -221,5 +221,5 @@ function! lsp#ui#vim#references#jump(offset) abort
221
222
" Jump
223
let l:target = w:lsp_reference_positions[l:index][0:1]
224
- silent exec 'normal! ' . l:target[0] . 'G0' . (l:target[1] == 1 ? '' : l:target[1]-1 . 'l')
+ call cursor(l:target[0], l:target[1])
225
endfunction
0 commit comments