Disable numhl for diagnostics

This commit is contained in:
2024-06-14 00:05:19 +02:00
parent c7f3f3bb17
commit 9af50fc20b

View File

@@ -49,7 +49,7 @@ return {
for type, icon in pairs(signs) do for type, icon in pairs(signs) do
local hl_sign = "DiagnosticSign" .. type local hl_sign = "DiagnosticSign" .. type
local hl_text = "Diagnostic" .. 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 end
vim.api.nvim_create_autocmd("LspAttach", { vim.api.nvim_create_autocmd("LspAttach", {