From: Samir Benmendil Date: Sat, 14 Jan 2023 01:00:28 +0000 (+0000) Subject: vim: don't set colorscheme in nvim X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/ae835fc9a2ead05cca90b1e003592aa4d8780527 vim: don't set colorscheme in nvim --- diff --git a/vim/vimrc b/vim/vimrc index 93f8bd0..4a51a99 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -146,14 +146,16 @@ Plug 'jenterkin/vim-autosource' " {{{2 call plug#end() filetype plugin indent on +syntax on " colorscheme {{{1 -syntax on set background=dark let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" set termguicolors -colorscheme $THEME +if !has('nvim') + colorscheme $THEME +endif "TODO see how I can integrate this into a theme that customises upstream Nord hi debugPC term=reverse ctermbg=8