mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
format
This commit is contained in:
parent
d7b8ac17fb
commit
45a24037e4
4 changed files with 32 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue