Make italic text work in neovim

https://github.com/neovim/neovim/issues/13188
This commit is contained in:
Asocia 2021-07-17 19:19:17 +03:00
parent 43be0b1683
commit dc8fbd0ffc
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ fg("IndentBlanklineChar", line)
-- misc -- -- misc --
fg("LineNr", grey) fg("LineNr", grey)
fg("Comment", grey) fg("Comment", grey)
vim.cmd("highlight Comment gui=italic")
fg("NvimInternalError", red) fg("NvimInternalError", red)
fg("VertSplit", line) fg("VertSplit", line)
fg("EndOfBuffer", black) fg("EndOfBuffer", black)

View File

@ -62,7 +62,7 @@ bind -n C-x setw synchronize-panes
bind-key -n C-S-Left swap-window -t -1\; select-window -t -1 bind-key -n C-S-Left swap-window -t -1\; select-window -t -1
bind-key -n C-S-Right swap-window -t +1\; select-window -t +1 bind-key -n C-S-Right swap-window -t +1\; select-window -t +1
set -g default-terminal "screen-256color" set -g default-terminal "tmux-256color"
# tell Tmux that outside terminal supports true color # tell Tmux that outside terminal supports true color
set -ga terminal-overrides ",xterm-256color*:Tc" set -ga terminal-overrides ",xterm-256color*:Tc"