使诗篇输出适应Neomake

问题描述 投票:0回答:1

我正在尝试将正确的errorformat传递给Neomake,以处理来自psalm(https://github.com/vimeo/psalm)的输出。

示例输出:

|| ERROR: UndefinedClass - application/libraries/PluginManager/PluginBase.php:58:13 - Class or interface LimeSurvey\PluginManager\XML does not exist

(双条只能在:lopen列表中看到,而不是在控制台中。不知道为什么。)

Errorformat我试过了:

||\ ERROR:\ %m\ -\ %f:%l:%c

不知道我错过了什么。感谢任何提示或链接或其他任何东西。

php neovim errorformat neomake psalm-php
1个回答
1
投票

解决了

'errorformat': '%tRROR:\ %s\ \\-\ %f:%l:%c\ \\-\ %m,%tNFO:\ %s\ \\-\ %f:%l:%c\ \\-\ %m',
© www.soinside.com 2019 - 2024. All rights reserved.