使w0rp异步Lint引擎“ ALE”尽快运行?

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

我是使用Vim的出色异步linter ALE w0rp-ale的满意用户。

我想尽可能快地执行ALE-例如,当前,当我更正错误时,警告会消失约半秒钟。关于如何使速度更快的任何提示?

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

vim lint
1个回答
0
投票

我会去g:ale_lint_delay=0

从ale doc:

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`.

[可以测试:ALELint的时间和短绒棉的命令行版本:(pylint)。 (我可以在此处发布)

© www.soinside.com 2019 - 2024. All rights reserved.