Skip to content

Commit

Permalink
import: fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih committed Sep 2, 2018
1 parent 8e35e47 commit 478418b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/go/import.vim
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ function! go#import#SwitchImport(enabled, localname, path, bang) abort
let linesdelta += 3
let appendstr = qlocalpath
let indentstr = 1
call append(appendline, appendstr)
elseif getline(appendline) =~# '^import\s\+(\+)'
call setline(appendline, 'import (')
call append(appendline + 0, appendstr)
Expand Down

0 comments on commit 478418b

Please sign in to comment.