-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
我好像并没有什么 vim 配置上的调整,之前还是没问题的,但是 AsyncRun 突然不能将结果输出到 quickfix 中。
terminal 中运行,应当 print 一些信息:
user number: 943
item number: 1650
density: 0.05141489122401106
rating records: 79999
rating scale: [1, 2, 3, 4, 5]
global average rating: 3.52833160415
MAE: 0.8502
RMSE: 1.0630
实际 vim 中 AsyncRun 运行:
|| [python 'average_filling.py']
|| [Finished in 10 seconds]
不知道是否有些排查的方法?
g1eb
Activity
skywind3000 commentedon Feb 21, 2017
你看看你的全局 errorformat 值是否被插件改变了(比如某插件更新后),errorformat里一些选项会把非匹配的文字给trim掉,看这个:#30
liuchengxu commentedon Feb 21, 2017
应该也是 vim-polyglot 的问题.
您能稍微展开下吗?我看了一下,vim-polygolt 对很多文件类型的 errorformat 都有设置,那么我需要针对不同文件类型进行设置吗?或者说可以统一进行设置?
同时使用 vim-polyglot 与 asyncrun 的用户应该都会遇到这个问题...
liuchengxu commentedon Feb 22, 2017
解决方案:
参见重置选项: