aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-17 20:58:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-17 20:58:52 +1200
commit69df565e2fa69e98c5862a4425d4e9cdc870abe2 (patch)
tree3b2b75e7641dce0831a17202412f8a7441ede7cf
parent62b7d1bcdee22f78c6562b69442b22915d0cbac7 (diff)
downloaddotfiles-69df565e2fa69e98c5862a4425d4e9cdc870abe2.tar.gz
dotfiles-69df565e2fa69e98c5862a4425d4e9cdc870abe2.zip
Break up long lines in PHP Vim compiler script
-rw-r--r--vim/compiler/php.vim13
1 files changed, 9 insertions, 4 deletions
diff --git a/vim/compiler/php.vim b/vim/compiler/php.vim
index 66313bba..e2bd0b59 100644
--- a/vim/compiler/php.vim
+++ b/vim/compiler/php.vim
@@ -16,8 +16,13 @@ else
endif
" Here be copy-pasted dragons
-CompilerSet errorformat=%E<b>%.%#Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
- \%W<b>%.%#Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
- \%E%.%#Parse\ error:\ %m\ in\ %f\ on\ line\ %l,
- \%W%.%#Notice:\ %m\ in\ %f\ on\ line\ %l,
+CompilerSet errorformat=
+ \%E<b>%.%#Parse\ error</b>:
+ \\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
+ \%W<b>%.%#Notice</b>:
+ \\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
+ \%E%.%#Parse\ error:
+ \\ %m\ in\ %f\ on\ line\ %l,
+ \%W%.%#Notice:
+ \\ %m\ in\ %f\ on\ line\ %l,
\%-G%.%#