Use function style for vim.cmd instead of string style
This commit is contained in:
@@ -25,8 +25,8 @@ local noice = {
|
||||
})
|
||||
|
||||
-- Override highlight groups
|
||||
vim.cmd [[ highlight NoiceCmdlinePopupBorder guibg=#080808 ]]
|
||||
vim.cmd [[ highlight link NoiceCmdlinePopupBorder NoiceCmdlinePopupBorderSearch ]]
|
||||
vim.cmd.highlight('NoiceCmdlinePopupBorder', 'guibg=#080808')
|
||||
vim.cmd.highlight('link', 'NoiceCmdlinePopupBorder', 'NoiceCmdlinePopupBorderSearch')
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user