Add priority to tiny-inline-diagnostics

This commit is contained in:
Martin Larsson 2025-01-02 11:46:26 +01:00
parent a05c7ef81c
commit 6b03a3eac1

View file

@ -1,6 +1,7 @@
return {
"rachartier/tiny-inline-diagnostic.nvim",
event = "VeryLazy",
priority = 1000,
config = function()
require("tiny-inline-diagnostic").setup()
@ -8,12 +9,11 @@ return {
virtual_text = false,
})
vim.cmd [[
vim.cmd [[
highlight DiagnosticUnderlineError gui=undercurl guisp=#ff0000 " Red for error
highlight DiagnosticUnderlineWarn gui=undercurl guisp=#ffaa00 " Yellow/Orange for warning
highlight DiagnosticUnderlineHint gui=undercurl guisp=#00ffff " Cyan for hint
highlight DiagnosticUnderlineInfo gui=undercurl guisp=#0000ff " Blue for info
]]
end
}