mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
fix _open_lsp_location (#646)
This commit is contained in:
@@ -45,8 +45,8 @@ function! lsp#utils#buffer#_open_lsp_location(location) abort
|
||||
let l:path = lsp#utils#uri_to_path(a:location['uri'])
|
||||
let l:bufnr = bufnr(l:path)
|
||||
|
||||
let [l:start_line, l:start_col] = lsp#utils#position#lsp_to_vim(l:bufnr, a:location['range']['start'])
|
||||
let [l:end_line, l:end_col] = lsp#utils#position#lsp_to_vim(l:bufnr, a:location['range']['end'])
|
||||
let [l:start_line, l:start_col] = lsp#utils#position#_lsp_to_vim(l:bufnr, a:location['range']['start'])
|
||||
let [l:end_line, l:end_col] = lsp#utils#position#_lsp_to_vim(l:bufnr, a:location['range']['end'])
|
||||
|
||||
normal! m'
|
||||
if &modified && !&hidden
|
||||
|
||||
Reference in New Issue
Block a user