Add tiny inline diagnostics and fix $TERM in tmux and alacritty to

alacritty instead of xterm-256color
This commit is contained in:
Martin Larsson 2024-10-24 19:09:31 +02:00
parent 8744c577ae
commit 6c605b47c2
3 changed files with 14 additions and 3 deletions

View file

@ -7,5 +7,13 @@ return {
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
}