mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-22 05:24:40 +02:00
highlighter: run ex command with leading colon in vim9 function #exec
This commit is contained in:
parent
9ae38b43e4
commit
7310ca6cbf
@ -479,7 +479,7 @@ else
|
|||||||
if old_hi != new_hi || !s:hl_group_exists(group)
|
if old_hi != new_hi || !s:hl_group_exists(group)
|
||||||
var cmd = ''
|
var cmd = ''
|
||||||
cmd = printf('hi %s%s', group, s:GetHiCmd(colors))
|
cmd = printf('hi %s%s', group, s:GetHiCmd(colors))
|
||||||
exe cmd
|
:exe cmd
|
||||||
if has_key(s:hl_groups, group)
|
if has_key(s:hl_groups, group)
|
||||||
s:hl_groups[group] = colors
|
s:hl_groups[group] = colors
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user