dense-analysis / dense-analysis/ale

Support different options for `g:ale_lint_on_enter` for running linters less often

Open
#1,418 6 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.