如何在vim的插入模式下使syntaly显示当前行错误?

时间:2022-06-06 19:33:12

The title of question is pretty self-explanatory - I want to be able to see syntastic errors on the line I currently positioned my cursor in errors line without switching to normal mode for it.

问题的标题是非常明显的 - 我希望能够在我当前将光标定位在错误行中的行上看到合成错误而不切换到正常模式。

1 个解决方案

#1


0  

This is currently not possible, and there is no plan to implement it, either. The cursor notification mechanism is already the slowest part of syntastic, by far. Because of the way redraws work in insert mode, cursor notification in this mode would be an order of magnitude slower. There is simply no reasonable way to implement this reliably and still keep it usable. Sorry about that.

目前这是不可能的,也没有计划实施它。到目前为止,光标通知机制已经是合成的最慢部分。由于重绘在插入模式下的工作方式,此模式下的光标通知速度会慢一个数量级。没有合理的方法可靠地实现它并仍然保持可用。对于那个很抱歉。

#1


0  

This is currently not possible, and there is no plan to implement it, either. The cursor notification mechanism is already the slowest part of syntastic, by far. Because of the way redraws work in insert mode, cursor notification in this mode would be an order of magnitude slower. There is simply no reasonable way to implement this reliably and still keep it usable. Sorry about that.

目前这是不可能的,也没有计划实施它。到目前为止,光标通知机制已经是合成的最慢部分。由于重绘在插入模式下的工作方式,此模式下的光标通知速度会慢一个数量级。没有合理的方法可靠地实现它并仍然保持可用。对于那个很抱歉。