neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit d7050d6e397f8916a38e8610ae8c2d8d75610fe4
parent 9df9d3af3be88ad17157a4028fe0d40101d2664c
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 18 Jul 2025 17:18:26 +0800

vim-patch:f2290a6: runtime(compiler): Add PHPStan compiler (#34985)

closes: vim/vim#17781

https://github.com/vim/vim/commit/f2290a682365c3a99e582bb74c99b0e5c4b98113

Co-authored-by: Dietrich Moerman <dietrich.moerman@gmail.com>
Diffstat:
Aruntime/compiler/phpstan.vim | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/runtime/compiler/phpstan.vim b/runtime/compiler/phpstan.vim @@ -0,0 +1,12 @@ +" Vim compiler file +" Compiler: PHPStan +" Maintainer: Dietrich Moerman <dietrich.moerman@gmail.com> +" Last Change: 2025 Jul 17 + +if exists("current_compiler") + finish +endif +let current_compiler = "phpstan" + +CompilerSet makeprg=composer\ exec\ --\ phpstan\ analyse\ -v\ --no-progress\ --error-format=raw +CompilerSet errorformat=%f:%l:%m,%-G%.%#