mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
vim-patch:f2290a6: runtime(compiler): Add PHPStan compiler (#34985)
closes: vim/vim#17781
f2290a6823
Co-authored-by: Dietrich Moerman <dietrich.moerman@gmail.com>
This commit is contained in:
12
runtime/compiler/phpstan.vim
Normal file
12
runtime/compiler/phpstan.vim
Normal file
@@ -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%.%#
|
Reference in New Issue
Block a user