Use function style for vim.cmd instead of string style

This commit is contained in:
2024-04-07 19:12:38 +01:00
parent fe19c35f36
commit eee4944354
5 changed files with 10 additions and 11 deletions

View File

@@ -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
}