feat(status): Use custom highlight with default links

This commit is contained in:
hedy
2023-11-24 16:47:36 +08:00
parent 896fd2ae63
commit fab3e8ce7c
4 changed files with 35 additions and 11 deletions

View File

@@ -62,6 +62,12 @@ function M.setup_highlights()
Details = 'Comment',
Lineno = 'LineNr',
JumpHighlight = 'Visual',
HelpTip = 'Comment',
StatusFt = 'Type',
StatusProvider = 'Special',
StatusError = 'ErrorMsg',
KeymapHelpKey = 'Special',
KeymapHelpDisabled = 'Comment',
}) do
if vim.fn.hlexists('Outline' .. name) == 0 then
vim.api.nvim_set_hl(0, 'Outline' .. name, { link = link })