Add tiny inline diagnostics and fix $TERM in tmux and alacritty to
alacritty instead of xterm-256color
This commit is contained in:
parent
8744c577ae
commit
6c605b47c2
3 changed files with 14 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ blinking = "Off"
|
|||
shape = "Block"
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
TERM = "alacritty"
|
||||
|
||||
[font]
|
||||
size = 12
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,10 +66,13 @@ bind-key -n M-C source-file ~/.tmux.conf \; display-message "Config reloaded"
|
|||
|
||||
# Set the default terminal to support 256 colors
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g default-terminal "alacritty"
|
||||
|
||||
# Ensure tmux uses true color
|
||||
set-option -ga terminal-features 'xterm-256color:RGB'
|
||||
set-option -ga terminal-overrides ',xterm-256color:Tc'
|
||||
# set-option -ga terminal-features 'xterm-256color:RGB'
|
||||
# set-option -ga terminal-overrides ',xterm-256color:Tc'
|
||||
set-option -ga terminal-features 'alacritty:RGB'
|
||||
set-option -ga terminal-overrides ',alacritty:Tc'
|
||||
|
||||
# Make sure that the index of windows and panes starts at 1
|
||||
set -g base-index 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue