From 0e3a19bc560c5ad2e4c3588d8e9819b0882fcff5 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sun, 18 Sep 2022 09:38:36 -0500 Subject: [PATCH] Check if has termguicolors --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 4fbe896..27a85e6 100644 --- a/.vimrc +++ b/.vimrc @@ -41,7 +41,9 @@ set colorcolumn=80 set diffopt+=iwhite set backupdir=~/.vim/backup/ set directory=~/.vim/swp/ -set termguicolors +if has('termguicolors') + set termguicolors +endif set updatetime=100 nnoremap s :set spell!