nvim: after/plugin/statusline: Use nvim_set_hl API

See https://github.com/neovim/neovim/pull/17187.
This commit is contained in:
Sanchayan Maity 2022-02-03 09:22:12 +05:30
parent 60478a59b0
commit 8b424a2533
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ local colors = {
}
local function highlight(group, fg, bg)
cmd(string.format("%s %s %s %s %s %s", "highlight ", group, "guifg=", fg, "guibg=", bg))
api.nvim_set_hl(0, group, { fg = fg, bg = bg })
end
highlight("Window" , colors.red , colors.bg)