From ae835fc9a2ead05cca90b1e003592aa4d8780527 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 14 Jan 2023 01:00:28 +0000 Subject: [PATCH] vim: don't set colorscheme in nvim --- vim/vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.48.1