aaronbieber/quicktask — Issue #12: The "note" syntax highlighting flickers when typing a space at the end of the line.
Author: aaronbieber
Created: 2012-02-09 17:40:42+00:00
State: open

When typing a "note" (which starts with an asterisk), the first line is highlighted perfectly. Once the line wraps to subsequent lines on-screen, the highlighting is lost when the current line ends with a space. You can see the highlighting flicker on and off while typing.

Despite fiddling with the regex in a number of ways, I could not make the flickering stop. There must be a way to let Vim match the lines as a note despite the trailing space.

Sometimes the highlighting is lost after returning to normal mode.

In all cases, a redraw of the screen (with `:redraw`) fixes the problem, which leads me to believe that it is not necessarily a problem with the match pattern, but rather with some mechanism of the syntax functionality that I am not familiar with.