Skip to content

Commit

Permalink
def: do not open a split for modified file
Browse files Browse the repository at this point in the history
fixes #1003
  • Loading branch information
fatih committed Oct 14, 2016
1 parent 1f8e10c commit 54fa467
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 54fa467

Please sign in to comment.