mirror of
https://github.com/gko/vim-coloresque.git
synced 2025-12-09 22:25:52 +08:00
Merge pull request #45 from jazzsewera/master
Fixed issue #36 where colors will not display in color-capable terminals
This commit is contained in:
@@ -348,7 +348,7 @@ if has('gui_running') || &t_Co==256
|
|||||||
endfor
|
endfor
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ! has("termguicolors")
|
if !has('gui_running') && !has("termguicolors")
|
||||||
let s:black = 0
|
let s:black = 0
|
||||||
let s:white = 15
|
let s:white = 15
|
||||||
|
|
||||||
@@ -595,4 +595,4 @@ if has('gui_running') || &t_Co==256
|
|||||||
autocmd ColorScheme <buffer> silent call s:VimCssInit(1)
|
autocmd ColorScheme <buffer> silent call s:VimCssInit(1)
|
||||||
autocmd BufEnter <buffer> silent call s:VimCssInit(1)
|
autocmd BufEnter <buffer> silent call s:VimCssInit(1)
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
Reference in New Issue
Block a user