Check if has termguicolors
This commit is contained in:
parent
76bb6c63e0
commit
0e3a19bc56
2
.vimrc
2
.vimrc
@ -41,7 +41,9 @@ set colorcolumn=80
|
|||||||
set diffopt+=iwhite
|
set diffopt+=iwhite
|
||||||
set backupdir=~/.vim/backup/
|
set backupdir=~/.vim/backup/
|
||||||
set directory=~/.vim/swp/
|
set directory=~/.vim/swp/
|
||||||
|
if has('termguicolors')
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
endif
|
||||||
set updatetime=100
|
set updatetime=100
|
||||||
|
|
||||||
nnoremap <leader>s :set spell!<CR>
|
nnoremap <leader>s :set spell!<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user