@@ -168,23 +168,27 @@ local function generate(p, opt)
168
168
DiagnosticWarn { WarningMsg },
169
169
DiagnosticInfo { fg = p .water },
170
170
DiagnosticHint { fg = p .blossom },
171
+ DiagnosticOk { fg = p .leaf },
171
172
DiagnosticDeprecated { DiagnosticWarn },
172
173
DiagnosticUnnecessary { DiagnosticWarn },
173
174
174
175
DiagnosticSignError { SignColumn , fg = DiagnosticError .fg },
175
176
DiagnosticSignWarn { SignColumn , fg = DiagnosticWarn .fg },
176
177
DiagnosticSignInfo { SignColumn , fg = DiagnosticInfo .fg },
177
178
DiagnosticSignHint { SignColumn , fg = DiagnosticHint .fg },
179
+ DiagnosticSignOk { SignColumn , fg = DiagnosticOk .fg },
178
180
179
181
DiagnosticVirtualTextError { DiagnosticError , bg = DiagnosticError .fg .saturation (42 ).lightness (p1 .bg .l - 4 ) },
180
- DiagnosticVirtualTextWarn { DiagnosticWarn , bg = DiagnosticWarn .fg .saturation (42 ).lightness (p1 .bg .l - 4 )},
182
+ DiagnosticVirtualTextWarn { DiagnosticWarn , bg = DiagnosticWarn .fg .saturation (42 ).lightness (p1 .bg .l - 4 ) },
181
183
DiagnosticVirtualTextInfo { DiagnosticInfo , bg = DiagnosticInfo .fg .saturation (42 ).lightness (p1 .bg .l - 4 ) },
182
- DiagnosticVirtualTextHint { DiagnosticHint , bg = DiagnosticHint .fg .saturation (42 ).lightness (p1 .bg .l - 4 )},
184
+ DiagnosticVirtualTextHint { DiagnosticHint , bg = DiagnosticHint .fg .saturation (42 ).lightness (p1 .bg .l - 4 ) },
185
+ DiagnosticVirtualTextOk { DiagnosticOk , bg = DiagnosticOk .fg .saturation (42 ).lightness (p1 .bg .l - 4 ) },
183
186
184
187
DiagnosticUnderlineError { fg = opt .colorize_diagnostic_underline_text and DiagnosticError .fg or " NONE" , gui = " undercurl" , sp = DiagnosticError .fg },
185
188
DiagnosticUnderlineWarn { fg = opt .colorize_diagnostic_underline_text and DiagnosticWarn .fg or " NONE" , gui = " undercurl" , sp = DiagnosticWarn .fg },
186
189
DiagnosticUnderlineInfo { fg = opt .colorize_diagnostic_underline_text and DiagnosticInfo .fg or " NONE" , gui = " undercurl" , sp = DiagnosticInfo .fg },
187
190
DiagnosticUnderlineHint { fg = opt .colorize_diagnostic_underline_text and DiagnosticHint .fg or " NONE" , gui = " undercurl" , sp = DiagnosticHint .fg },
191
+ DiagnosticUnderlineOk { fg = opt .colorize_diagnostic_underline_text and DiagnosticOk .fg or " NONE" , gui = " undercurl" , sp = DiagnosticOk .fg },
188
192
189
193
-- Tree-sitter
190
194
sym " @annotation" { PreProc },
0 commit comments