diff --git a/autoload/lsp/util.vim b/autoload/lsp/util.vim index eb0a64fb..320b32fe 100644 --- a/autoload/lsp/util.vim +++ b/autoload/lsp/util.vim @@ -286,7 +286,7 @@ export def JumpToLspLocation(location: dict, cmdmods: string) # if the current buffer has unsaved changes and 'hidden' is not set, # or if the current buffer is a special buffer, then open the file # in a new window - exe $'belowright split {fname}' + exe $'pedit {fname}' else exe $'edit {fname}' endif