summaryrefslogtreecommitdiffstats
path: root/compiler/go.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-12 14:32:53 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-12 14:32:53 +0200
commit26790941f6d4ceedbf6324eb3712949eb614908f (patch)
treee6e3ba2a0a04fa07b3b462bda2c23a20ced13313 /compiler/go.vim
parentfbc2af9e820d85e17cd08023f4dcc66545735d58 (diff)
downloadvim-polyglot-26790941f6d4ceedbf6324eb3712949eb614908f.tar.gz
vim-polyglot-26790941f6d4ceedbf6324eb3712949eb614908f.zip
Update
Diffstat (limited to 'compiler/go.vim')
-rw-r--r--compiler/go.vim15
1 files changed, 7 insertions, 8 deletions
diff --git a/compiler/go.vim b/compiler/go.vim
index e5d1e061..2eb893fa 100644
--- a/compiler/go.vim
+++ b/compiler/go.vim
@@ -32,14 +32,13 @@ endif
" use a different output, for those we define them directly and modify the
" errorformat ourselves. More information at:
" http://vimdoc.sourceforge.net/htmldoc/quickfix.html#errorformat
-CompilerSet errorformat =%-G#\ %.%# " Ignore lines beginning with '#' ('# command-line-arguments' line sometimes appears?)
-CompilerSet errorformat+=%-G%.%#panic:\ %m " Ignore lines containing 'panic: message'
-CompilerSet errorformat+=%Ecan\'t\ load\ package:\ %m " Start of multiline error string is 'can\'t load package'
-CompilerSet errorformat+=%A%f:%l:%c:\ %m " Start of multiline unspecified string is 'filename:linenumber:columnnumber:'
-CompilerSet errorformat+=%A%f:%l:\ %m " Start of multiline unspecified string is 'filename:linenumber:'
-CompilerSet errorformat+=%C%*\\s%m " Continuation of multiline error message is indented
-CompilerSet errorformat+=%-G%.%# " All lines not matching any of the above patterns are ignored
-
+CompilerSet errorformat =%-G#\ %.%# " Ignore lines beginning with '#' ('# command-line-arguments' line sometimes appears?)
+CompilerSet errorformat+=%-G%.%#panic:\ %m " Ignore lines containing 'panic: message'
+CompilerSet errorformat+=%Ecan\'t\ load\ package:\ %m " Start of multiline error string is 'can\'t load package'
+CompilerSet errorformat+=%A%\\%%(%[%^:]%\\+:\ %\\)%\\?%f:%l:%c:\ %m " Start of multiline unspecified string is 'filename:linenumber:columnnumber:'
+CompilerSet errorformat+=%A%\\%%(%[%^:]%\\+:\ %\\)%\\?%f:%l:\ %m " Start of multiline unspecified string is 'filename:linenumber:'
+CompilerSet errorformat+=%C%*\\s%m " Continuation of multiline error message is indented
+CompilerSet errorformat+=%-G%.%# " All lines not matching any of the above patterns are ignored
let &cpo = s:save_cpo
unlet s:save_cpo