dart-lang / dart-lang/dart-vim-plugin
Syntax is not highlighted properly on range pattern matching
- Dominant language
- Vim Script
- Stars
- 653
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
On a range pattern, only the last variable is highlighted.
Test file: https://github.com/dart-lang/dart-syntax-highlight/blob/master/test/test_files/patterns.dart#L44-L51
Expected result (Visual Studio Code):

Actual result (Vim):

Contributor guide
Research direction
Start with test/test_files/patterns.dart lines 44-51 and compare how the range pattern is highlighted in Vim with the provided Visual Studio Code result. Trace the Vim syntax rules applied to that fixture and verify that all variables in the range pattern receive the expected highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100