fix(ci): yping
This commit is contained in:
parent
09c0881355
commit
3f2b1233ef
2 changed files with 12 additions and 2 deletions
|
|
@ -73,6 +73,15 @@ M.daylight = {
|
|||
cyan = '#00BFFF',
|
||||
white = '#ffffff',
|
||||
|
||||
bright_black = '#555555',
|
||||
bright_red = '#ff0000',
|
||||
bright_green = '#00ff00',
|
||||
bright_yellow = '#ffa500',
|
||||
bright_blue = '#0000ff',
|
||||
bright_magenta = '#ff00ff',
|
||||
bright_cyan = '#00ffff',
|
||||
bright_white = '#ffffff',
|
||||
|
||||
light_black = '#555555',
|
||||
light_grey = '#ECECEC',
|
||||
light_red = '#ff0000',
|
||||
|
|
|
|||
|
|
@ -14,8 +14,9 @@ local M = {}
|
|||
---@param from string
|
||||
---@param tos string|string[]
|
||||
local function link(from, tos)
|
||||
tos = type(tos) == 'string' and { tos } or tos
|
||||
for _, to in ipairs(tos) do
|
||||
---@type string[]
|
||||
local tos_list = type(tos) == 'string' and { tos } or tos
|
||||
for _, to in ipairs(tos_list) do
|
||||
vim.api.nvim_set_hl(0, to, { link = from })
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue