forked from aniani/vim
patch 8.2.0612: Vim9: no check for space before #comment
Problem: Vim9: no check for space before #comment. Solution: Add space checks.
This commit is contained in:
@@ -658,7 +658,7 @@ do_highlight(
|
||||
/*
|
||||
* If no argument, list current highlighting.
|
||||
*/
|
||||
if (ends_excmd(*line))
|
||||
if (!init && ends_excmd2(line - 1, line))
|
||||
{
|
||||
for (i = 1; i <= highlight_ga.ga_len && !got_int; ++i)
|
||||
// TODO: only call when the group has attributes set
|
||||
|
Reference in New Issue
Block a user