Disable numhl for diagnostics

This commit is contained in:
Dreaded_X 2024-06-14 00:05:19 +02:00
parent c7f3f3bb17
commit 9af50fc20b
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -49,7 +49,7 @@ return {
for type, icon in pairs(signs) do
local hl_sign = "DiagnosticSign" .. type
local hl_text = "Diagnostic" .. type
vim.fn.sign_define(hl_sign, { text = icon, texthl = hl_sign, numhl = hl_text })
vim.fn.sign_define(hl_sign, { text = icon, texthl = hl_sign })
end
vim.api.nvim_create_autocmd("LspAttach", {