mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
perf(ui): eliminate spurious memory allocations for hl_attr_define event
This commit is contained in:
@@ -215,7 +215,7 @@ describe('ui/cursor', function()
|
||||
m.hl_id = 60
|
||||
m.attr = {background = Screen.colors.DarkGray}
|
||||
end
|
||||
if m.id_lm then m.id_lm = 65 end
|
||||
if m.id_lm then m.id_lm = 61 end
|
||||
end
|
||||
|
||||
-- Assert the new expectation.
|
||||
|
Reference in New Issue
Block a user