Skip to content

Commit

Permalink
Merge pull request #1083 from fatih/fix-jumping-to-split-modified
Browse files Browse the repository at this point in the history
def: do not open a split for modified file
  • Loading branch information
fatih authored Oct 14, 2016
2 parents 1f8e10c + 54fa467 commit 127ecfe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions autoload/go/def.vim
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ function! s:jump_to_declaration(out, mode)
split
elseif a:mode == "vsplit"
vsplit
elseif &modified
split
endif

" open the file and jump to line and column
Expand Down

0 comments on commit 127ecfe

Please sign in to comment.