[neovim] Fix colorscheme

This commit is contained in:
nemirwen 2024-04-30 08:30:32 +02:00
parent 71550e4c96
commit 6aedca76f7
2 changed files with 12 additions and 9 deletions

View file

@ -9,6 +9,9 @@ require("plugins")
vim.cmd.source("~/.config/nvim/init.old.vim") vim.cmd.source("~/.config/nvim/init.old.vim")
-- Colorscheme -- -- Colorscheme --
if vim.fn.has("termguicolors") then
vim.o.termguicolors = true
end
vim.cmd([[colorscheme base16-gruvbox-dark-pale]]) vim.cmd([[colorscheme base16-gruvbox-dark-pale]])

View file

@ -110,15 +110,15 @@ endif
"[Kitty doesn't support background color erase]" "[Kitty doesn't support background color erase]"
let &t_ut='' "let &t_ut=''
let base16colorspace=256 "let base16colorspace=256
set background=dark "set background=dark
colorscheme base16-default-dark "colorscheme base16-default-dark
"[Fix background transparency]" ""[Fix background transparency]"
if has("autocmd") "if has("autocmd")
autocmd ColorScheme * highlight Normal ctermbg=None " autocmd ColorScheme * highlight Normal ctermbg=None
autocmd ColorScheme * highlight NonText ctermbg=None " autocmd ColorScheme * highlight NonText ctermbg=None
endif "endif
"[Define the leader key]" "[Define the leader key]"