Add diagnostic severity highlighting for quickfix lists
Enhance visibility of diagnostic messages in quickfix and location lists by adding custom syntax groups for error, warning, info, hint, and note.
This commit is contained in:
parent
f2a94d10ac
commit
bd89c05068
2 changed files with 31 additions and 1 deletions
|
|
@ -118,11 +118,19 @@ return {
|
|||
Conceal = 'Noise',
|
||||
|
||||
-- ============================================================================
|
||||
-- QuickFix
|
||||
-- QuickFix & Location List
|
||||
-- ============================================================================
|
||||
|
||||
QuickFixLine = { bg = c.bg_hl_special_weak, bold = true },
|
||||
|
||||
-- Diagnostic severity highlighting in quickfix/location list
|
||||
-- These are custom syntax groups defined in autocmds.lua
|
||||
qfError = { fg = c.diag_error, bold = true }, -- "error:" or "[E]"
|
||||
qfWarning = { fg = c.diag_warn, bold = true }, -- "warning:" or "[W]"
|
||||
qfInfo = { fg = c.diag_info, bold = true }, -- "info:" or "[I]"
|
||||
qfHint = { fg = c.diag_hint, bold = true }, -- "hint:" or "[H]"
|
||||
qfNote = { fg = c.diag_hint, bold = true }, -- "note:" (same as hint)
|
||||
|
||||
-- ============================================================================
|
||||
-- Debug
|
||||
-- ============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue