annotate runtime/compiler/php.vim @ 12465:805f7fd40e0d v8.0.1112

patch 8.0.1112: can't get size or current index from quickfix list commit https://github.com/vim/vim/commit/fc2b270cfd36230166df486aae4d96d9d1f32755 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 15 22:43:07 2017 +0200 patch 8.0.1112: can't get size or current index from quickfix list Problem: Can't get size or current index from quickfix list. Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Fri, 15 Sep 2017 22:45:04 +0200
parents f7add3891e95
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
1 " Vim compiler file
5161
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
2 " Compiler: PHP CLI
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
4 " Last Change: 2013 Jun 25
23
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
5
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
6 if exists("current_compiler")
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
7 finish
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
8 endif
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
9 let current_compiler = "php"
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
10
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
13 endif
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
14
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
15 let s:cpo_save = &cpo
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
16 set cpo-=C
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
17
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
18 CompilerSet makeprg=php\ -lq
5161
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
19 CompilerSet errorformat=%E<b>%.%#Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
20 \%W<b>%.%#Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
21 \%E%.%#Parse\ error:\ %m\ in\ %f\ on\ line\ %l,
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
22 \%W%.%#Notice:\ %m\ in\ %f\ on\ line\ %l,
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
23 \%-G%.%#
23
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
24
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
25 let &cpo = s:cpo_save
3f44e9abe4ec updated for version 7.0015
vimboss
parents:
diff changeset
26 unlet s:cpo_save