chore(config): change colorscheme based on terminal

https://neovim.io/doc/user/term.html
main
sudo pacman -Syu 2022-02-19 17:58:59 +07:00
parent f55500b3c0
commit 23873e1a44
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 8 additions and 3 deletions

View File

@ -33,6 +33,7 @@ Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
" Colorschemes
Plug 'cocopon/iceberg.vim'
Plug 'joshdick/onedark.vim'
Plug 'projekt0n/github-nvim-theme'
Plug 'catppuccin/nvim', {'as': 'catppuccin'}
@ -58,6 +59,10 @@ EOF
set background=dark
" colorscheme onedark
" colorscheme github_dark
colorscheme catppuccin
if $TERM == 'xterm-kitty'
" colorscheme onedark
" colorscheme github_dark
colorscheme catppuccin
else
colorscheme iceberg
endif