dense-analysis / dense-analysis/ale
Support different options for `g:ale_lint_on_enter` for running linters less often
Open
enhancement
- Dominant language
- Vim Script
- Stars
- 14k
- Forks
- 1.5k
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 1
Description
When linters are very expensive (such as `clang-tidy`) it places a penalty on using vim by opening buffers without using windows and switching back and forth between them. With this, ALE will re-lint each buffer when re-entering it. When the buffers are opened as windows side by side or as tabs, this does not occur.
I think that a reasonably practical workaround might be to `let g:ale_lint_on_enter = 0` but my thought was this could be made a tiny bit more intelligent somehow.
Contributor guide
Assessment
This issue has not been assessed yet.