nvim: make colors nice again
This commit is contained in:
parent
cedd8218c4
commit
7e82cad98d
2 changed files with 26 additions and 4 deletions
|
@ -131,7 +131,7 @@ end
|
||||||
---@param bg ?color
|
---@param bg ?color
|
||||||
---@param styles style[]
|
---@param styles style[]
|
||||||
function M:hl(group, fg, bg, styles, opts)
|
function M:hl(group, fg, bg, styles, opts)
|
||||||
local o = opts or {};
|
local o = opts or { force = true }
|
||||||
|
|
||||||
if fg ~= nil
|
if fg ~= nil
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
local M = {
|
local M = {
|
||||||
'gruvbox-community/gruvbox',
|
'gruvbox-community/gruvbox',
|
||||||
commit = 'f150aa7',
|
|
||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 999,
|
priority = 999,
|
||||||
}
|
}
|
||||||
|
@ -186,6 +185,29 @@ function M.config()
|
||||||
gr:hl('@text.uri', 'bright_blue', nil, { 'underline' }, {})
|
gr:hl('@text.uri', 'bright_blue', nil, { 'underline' }, {})
|
||||||
gr:hl('@text.emphasis', nil, nil, { 'italic' }, {})
|
gr:hl('@text.emphasis', nil, nil, { 'italic' }, {})
|
||||||
|
|
||||||
|
link('DiagnosticError', 'GruvboxRed')
|
||||||
|
link('DiagnosticWarn', 'GruvboxYellow')
|
||||||
|
link('DiagnosticInfo', 'GruvboxBlue')
|
||||||
|
link('DiagnosticHint', 'GruvboxAqua')
|
||||||
|
link('DiagnosticOk', 'GruvboxGreen')
|
||||||
|
link('RedrawDebugClear', 'GruvboxAqua')
|
||||||
|
link('RedrawDebugComposed', 'GruvboxGreen')
|
||||||
|
link('RedrawDebugRecompose', 'GruvboxRed')
|
||||||
|
link('DiagnosticFloatingError', 'DiagnosticError')
|
||||||
|
link('DiagnosticFloatingWarn', 'DiagnosticWarn')
|
||||||
|
link('DiagnosticFloatingInfo', 'DiagnosticInfo')
|
||||||
|
link('DiagnosticFloatingHint', 'DiagnosticHint')
|
||||||
|
link('DiagnosticFloatingOk', 'DiagnosticOk')
|
||||||
|
link('DiagnosticUnderlineOk', 'GruvboxAquaUnderline')
|
||||||
|
link('DiagnosticUnderlineError', 'GruvboxRedUnderline')
|
||||||
|
link('DiagnosticUnderlineWarn', 'GruvboxYellowUnderline')
|
||||||
|
link('DiagnosticUnderlineInfo', 'GruvboxBlueUnderline')
|
||||||
|
link('DiagnosticUnderlineHint', 'GruvboxAquaUnderline')
|
||||||
|
|
||||||
|
gr:hl('DiagnosticDeprecated', nil, nil, { 'strikethrough' }, { sp = 'red' })
|
||||||
|
|
||||||
|
gr:hl('NormalFloat', 'light0_hard', 'dark1', {}, nil)
|
||||||
|
|
||||||
-- gr:hl('GitSignsAddLine', nil, 'faded_green', {})
|
-- gr:hl('GitSignsAddLine', nil, 'faded_green', {})
|
||||||
-- vim.fn.sign_define('GitSignsAdd', { text = '│', texthl = 'GitSignsAdd', linehl = 'GitSignsAddLine', culhl='CursorLine' })
|
-- vim.fn.sign_define('GitSignsAdd', { text = '│', texthl = 'GitSignsAdd', linehl = 'GitSignsAddLine', culhl='CursorLine' })
|
||||||
link('DapUINormal', 'Normal')
|
link('DapUINormal', 'Normal')
|
||||||
|
|
Loading…
Add table
Reference in a new issue