highlighter: run ex command with leading colon in vim9 function #exec

This commit is contained in:
Christian 2020-11-18 11:00:31 +01:00 committed by Christian Brabandt
parent 9ae38b43e4
commit 7310ca6cbf
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -479,7 +479,7 @@ else
if old_hi != new_hi || !s:hl_group_exists(group)
var cmd = ''
cmd = printf('hi %s%s', group, s:GetHiCmd(colors))
exe cmd
:exe cmd
if has_key(s:hl_groups, group)
s:hl_groups[group] = colors
endif