dense-analysis / dense-analysis/ale

Vim stretches out highlighted sections, sometimes across multiple lines

Open
#2,124 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

posting on behalf of @oblitum

## Information

**VIM version** vim 8.1.542

Operating System:

## What went wrong

Either ALE or Vim extends highlights when the text inside of a highlight is modified.

https://i.imgur.com/NpEWq5C.gif

## Reproducing the bug

1. Edit a file with a highlight, with a linter that requires files to be saved
2. Press enter when in a highlight section

### :ALEInfo

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Vim 8.1.542 with ALE and a linter that requires files to be saved, following the reported steps. Compare whether ALE or Vim extends the highlighted section after pressing Enter; done means highlights no longer stretch across additional text or lines.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.