Fix wired color on Windows Terminal

This commit is contained in:
wunewww 2024-05-05 11:09:07 +08:00
parent 5cfe442445
commit a4c0ce99b5

View File

@ -69,9 +69,9 @@ set updatecount =100
set undofile
if exists('g:CONFIGPATH')
execute 'set undodir=' . escape(g:CONFIGPATH, ' \') . '/undo/'
execute 'set directory=' . escape(g:CONFIGPATH, ' \') . '/swap/'
execute 'set backupdir=' . escape(g:CONFIGPATH, ' \') . '/backup/'
execute 'set undodir=' . escape(g:CONFIGPATH, ' \') . '/undo/'
execute 'set directory=' . escape(g:CONFIGPATH, ' \') . '/swap/'
execute 'set backupdir=' . escape(g:CONFIGPATH, ' \') . '/backup/'
endif
" set textwidth =80
@ -85,3 +85,9 @@ set foldmethod =manual
" Turn off beep & alert bell
set noeb
set vb t_vb=
" Colorscheme when lauching in Windows Terminal
" which has strange redering scheme
if has('win32') || has('win64')
colorscheme desert
endif