Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit ecc9e64

Browse files
committed
update theme
1 parent 8d98e4d commit ecc9e64

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

coc-settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"volar.useWorkspaceTsdk": true,
55
"coc.preferences.formatOnSave": false,
66
"coc.preferences.useQuickfixForLocations": true,
7+
"suggest.labelMaxLength": 60,
78
"suggest.noselect": true,
89
"suggest.insertMode": "replace",
910
"suggest.enablePreselect": false,

lua/user/plugins/theme.lua

+24
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,30 @@ plug({
205205
bold = false,
206206
}
207207

208+
hls.CocErrorSign = { link = 'DiagnosticError' }
209+
hls.CocWarningSign = { link = 'DiagnosticWarn' }
210+
hls.CocInfoSign = { link = 'DiagnosticInfo' }
211+
hls.CocHintSign = { link = 'DiagnosticHint' }
212+
hls.CocErrorFloat = { link = 'DiagnosticError' }
213+
hls.CocWarningFloat = { link = 'DiagnosticWarn' }
214+
hls.CocFloating = { link = 'NormalFloat' }
215+
hls.CocInfoFloat = { link = 'DiagnosticInfo' }
216+
hls.CocHintFloat = { link = 'DiagnosticHint' }
217+
hls.CocDiagnosticsError = { link = 'DiagnosticError' }
218+
hls.CocDiagnosticsWarning = { link = 'DiagnosticWarn' }
219+
hls.CocDiagnosticsInfo = { link = 'DiagnosticInfo' }
220+
hls.CocDiagnosticsHint = { link = 'DiagnosticHint' }
221+
hls.CocSelectedText = { fg = c.blue }
222+
hls.CocMenuSel = { link = 'PmenuSel' }
223+
hls.CocCodeLens = { fg = c.visual }
224+
hls.CocInlayHint = { fg = c.visual }
225+
hls.CocInlayHintType = { link = 'CocInlayHint' }
226+
hls.CocInlayHintParameter = { link = 'CocInlayHint' }
227+
hls.CocErrorHighlight = { undercurl = true, sp = c.red }
228+
hls.CocWarningHighlight = { sp = c.yellow, undercurl = true }
229+
hls.CocInfoHighlight = { sp = c.green, undercurl = true }
230+
hls.CocHintHighlight = { sp = c.orange, undercurl = true }
231+
208232
return hls
209233
end,
210234
},

0 commit comments

Comments
 (0)