diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:44:22 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:44:22 +0300 |
| commit | 934382c8a1ce738589dee9ee0f14e1cec812770e (patch) | |
| tree | f13715762efd06518f8aec3a2bf39ac8a615987f /uvim/runtime/compiler/php.vim | |
| parent | 0b24459ac12b6cf9fd5a401d647796ca254a8fa8 (diff) | |
| parent | 7088926316d8d4a7572a242d0765e99adfc8b083 (diff) | |
| download | Project-Tick-934382c8a1ce738589dee9ee0f14e1cec812770e.tar.gz Project-Tick-934382c8a1ce738589dee9ee0f14e1cec812770e.zip | |
Add 'uvim/' from commit '7088926316d8d4a7572a242d0765e99adfc8b083'
git-subtree-dir: uvim
git-subtree-mainline: 0b24459ac12b6cf9fd5a401d647796ca254a8fa8
git-subtree-split: 7088926316d8d4a7572a242d0765e99adfc8b083
Diffstat (limited to 'uvim/runtime/compiler/php.vim')
| -rw-r--r-- | uvim/runtime/compiler/php.vim | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/uvim/runtime/compiler/php.vim b/uvim/runtime/compiler/php.vim new file mode 100644 index 0000000000..f5d521098b --- /dev/null +++ b/uvim/runtime/compiler/php.vim @@ -0,0 +1,22 @@ +" Vim compiler file +" Compiler: PHP CLI +" Maintainer: Doug Kearns <dougkearns@gmail.com> +" Last Change: 2024 Apr 03 + +if exists("current_compiler") + finish +endif +let current_compiler = "php" + +let s:cpo_save = &cpo +set cpo-=C + +CompilerSet makeprg=php\ -lq +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%.%# + +let &cpo = s:cpo_save +unlet s:cpo_save |
