fix(ci): yping
This commit is contained in:
parent
3f2b1233ef
commit
8ccbd5380e
1 changed files with 3 additions and 4 deletions
|
|
@ -14,8 +14,7 @@ local M = {}
|
||||||
---@param from string
|
---@param from string
|
||||||
---@param tos string|string[]
|
---@param tos string|string[]
|
||||||
local function link(from, tos)
|
local function link(from, tos)
|
||||||
---@type string[]
|
local tos_list = type(tos) == 'string' and { tos } or tos --[[@as string[] ]]
|
||||||
local tos_list = type(tos) == 'string' and { tos } or tos
|
|
||||||
for _, to in ipairs(tos_list) do
|
for _, to in ipairs(tos_list) do
|
||||||
vim.api.nvim_set_hl(0, to, { link = from })
|
vim.api.nvim_set_hl(0, to, { link = from })
|
||||||
end
|
end
|
||||||
|
|
@ -73,13 +72,13 @@ function M.apply()
|
||||||
hi('CursorLine', { bg = cs.dark_grey }, { 'ColorColumn', 'Folded', 'Visual' })
|
hi('CursorLine', { bg = cs.dark_grey }, { 'ColorColumn', 'Folded', 'Visual' })
|
||||||
hi('CursorLineNr', { fg = cs.medium_emphasis })
|
hi('CursorLineNr', { fg = cs.medium_emphasis })
|
||||||
|
|
||||||
hi('Conceal', { fg = cs.light_black, bg = cs.bg })
|
hi('Conceal', { fg = cs.light_black, bg = cs.black })
|
||||||
hi('Directory', { fg = cs.white })
|
hi('Directory', { fg = cs.white })
|
||||||
hi('Error', { fg = cs.red })
|
hi('Error', { fg = cs.red })
|
||||||
hi('ErrorMsg', { bold = true, underline = true, fg = cs.red })
|
hi('ErrorMsg', { bold = true, underline = true, fg = cs.red })
|
||||||
hi('MoreMsg', { fg = cs.yellow }, { 'WarningMsg' })
|
hi('MoreMsg', { fg = cs.yellow }, { 'WarningMsg' })
|
||||||
hi('MatchParen', { bg = cs.med_grey })
|
hi('MatchParen', { bg = cs.med_grey })
|
||||||
hi('NormalFloat', { bg = cs.bg }, {
|
hi('NormalFloat', { bg = cs.black }, {
|
||||||
'LspInfoBorder',
|
'LspInfoBorder',
|
||||||
'FloatBorder',
|
'FloatBorder',
|
||||||
'FloatShadow',
|
'FloatShadow',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue