gpt4 book ai didi

vim - 让 w0rp Async Lint Engine "ALE"尽可能快?

转载 作者:行者123 更新时间:2023-12-05 01:38:38 27 4
gpt4 key购买 nike

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

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

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

最佳答案

我会选择 g:ale_lint_delay=0

来自 ale 文档:

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 的时间和 linter 的命令行版本:(pylint)。 (我可以做并张贴在这里)

关于vim - 让 w0rp Async Lint Engine "ALE"尽可能快?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59505727/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com