Skip to content

Commit

Permalink
Merge pull request #2752 from bhcleek/fmt/gopls/error
Browse files Browse the repository at this point in the history
fmt: show errors when g:go_fmt_command is gopls
  • Loading branch information
bhcleek authored Feb 29, 2020
2 parents be888d7 + 5157c43 commit ff3eeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/go/fmt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function! go#fmt#ShowErrors(errors) abort
let l:errorformat = '%f:%l:%c:\ %m'
let l:listtype = go#list#Type("GoFmt")

call go#list#ParseFormat(l:listtype, l:errorformat, a:errors, 'Format')
call go#list#ParseFormat(l:listtype, l:errorformat, a:errors, 'Format', 0)
let l:errors = go#list#Get(l:listtype)

" this closes the window if there are no errors or it opens
Expand Down

0 comments on commit ff3eeea

Please sign in to comment.