'main': Fix highlighting of comments followed by non-comments (on a subsequent line).
Merge remote-tracking branch 'upstream/pr/385' * upstream/pr/385: 'main': Add regression test for previous commit. 'main': Fix bug: no start_pos=$end_pos in comment short path Fixes #385.
This commit is contained in:
@@ -418,6 +418,7 @@ _zsh_highlight_highlighter_main_paint()
|
||||
fi
|
||||
_zsh_highlight_main_add_region_highlight $start_pos $end_pos $style
|
||||
already_added=1
|
||||
start_pos=$end_pos
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user