Disable numhl for diagnostics
This commit is contained in:
parent
c7f3f3bb17
commit
9af50fc20b
|
@ -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", {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user