Check if has termguicolors

This commit is contained in:
Ryan Cavicchioni 2022-09-18 09:38:36 -05:00
parent 76bb6c63e0
commit 0e3a19bc56
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

4
.vimrc
View File

@ -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 <leader>s :set spell!<CR>