使 w0rp 异步 Lint 引擎“ALE”尽可能快?

eth*_*joe 3 vim lint

我很高兴使用Vim的优秀异步 linter ALE w0rp-ale 。

我想让 ALE 尽可能快——例如,目前当我纠正错误时,会有大约半秒的暂停,警告才会消失。关于如何使其更快的任何提示?

我可以在 github 页面上开票,但我很好奇谁也会在 SO 上看到这篇文章。谢谢 !

tin*_*ino 6

我会去g:ale_lint_delay=0

来自啤酒文档:

g:ale_lint_delay                                             *g:ale_lint_delay*

  Type: |Number|
  Default: `200`

  This variable controls the milliseconds delay after which the linters will
  be run after text is changed. This option is only meaningful with the
  |g:ale_lint_on_text_changed| variable set to `always`, `insert`, or `normal`.
Run Code Online (Sandbox Code Playgroud)

可以测试:ALELintlinter 的时间和命令行版本:( pylint)。(我可以在这里发布)