Check if has termguicolors

This commit is contained in:
2022-09-18 09:38:36 -05:00
parent 76bb6c63e0
commit 0e3a19bc56

2
.vimrc
View File

@ -41,7 +41,9 @@ set colorcolumn=80
set diffopt+=iwhite
set backupdir=~/.vim/backup/
set directory=~/.vim/swp/
if has('termguicolors')
set termguicolors
endif
set updatetime=100
nnoremap <leader>s :set spell!<CR>