vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

phpstan.vim (344B)


      1 " Vim compiler file
      2 " Compiler:	PHPStan
      3 " Maintainer:	Dietrich Moerman <dietrich.moerman@gmail.com>
      4 " Last Change:	2025 Jul 17
      5 
      6 if exists("current_compiler")
      7   finish
      8 endif
      9 let current_compiler = "phpstan"
     10 
     11 CompilerSet makeprg=composer\ exec\ --\ phpstan\ analyse\ -v\ --no-progress\ --error-format=raw
     12 CompilerSet errorformat=%f:%l:%m,%-G%.%#