.dotfiles/home/.config/nvim/lua/plugs/tiny-inline-diagnostics.lua
Martin Larsson 6c605b47c2 Add tiny inline diagnostics and fix $TERM in tmux and alacritty to
alacritty instead of xterm-256color
2024-10-24 19:09:31 +02:00

19 lines
633 B
Lua

return {
"rachartier/tiny-inline-diagnostic.nvim",
event = "VeryLazy",
config = function()
require("tiny-inline-diagnostic").setup()
vim.diagnostic.config({
virtual_text = false,
})
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
}