This commit is contained in:
mvllow 2021-07-12 22:57:42 -05:00
commit 45a24037e4
4 changed files with 32 additions and 7 deletions

View file

@ -7,7 +7,16 @@ util.highlight = function(group, color)
local bg = color.bg and 'guibg=' .. color.bg or 'guibg=NONE'
local sp = color.sp and 'guisp=' .. color.sp or ''
local hl = 'highlight ' .. group .. ' ' .. style .. ' ' .. fg .. ' ' .. bg .. ' ' .. sp
local hl = 'highlight '
.. group
.. ' '
.. style
.. ' '
.. fg
.. ' '
.. bg
.. ' '
.. sp
vim.cmd(hl)
if color.link then