dense-analysis / dense-analysis/ale

Disable lint_on_text_changed for some linters

Open
#3,410 2 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

Some linters are fast enough to run during text changing, but some linters are too slow for this. This is particularly annoying when you create a problem during typing, then fix the issue but the issue is still marked for seconds because the linter is still running.

I can disable all linting during text changing with `let g:ale_lint_on_text_change = 0` but I only want to do that for the slow linters, and not the fast ones.

Would it be possible to add configuration options for each linter when it is run or not?

Contributor guide

Open the contributing guide

Research direction

Start by tracing how g:ale_lint_on_text_change is read and how individual linters are scheduled during text changes. Review the existing linter configuration and documentation paths; done means users can choose this behavior per linter while fast linters continue running normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.