mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-12 21:43:50 -05:00
No need to run has('win64') after has('win32')
has('win32') includes 64bit windows thus it is pointless to run
has('win64') afterwards.
This commit is contained in:
@@ -207,7 +207,7 @@ endfunction
|
|||||||
|
|
||||||
function! lightline#highlight(...) abort
|
function! lightline#highlight(...) abort
|
||||||
let [c, f, g] = [s:lightline.palette, s:lightline.mode_fallback, s:lightline.component_type]
|
let [c, f, g] = [s:lightline.palette, s:lightline.mode_fallback, s:lightline.component_type]
|
||||||
if (has('win32') || has('win64')) && !has('gui_running') && &t_Co < 256
|
if has('win32') && !has('gui_running') && &t_Co < 256
|
||||||
for u in values(c)
|
for u in values(c)
|
||||||
for v in values(u)
|
for v in values(u)
|
||||||
for _ in v | let [_[2], _[3]] = [lightline#colortable#gui2cui(_[0], _[2]), lightline#colortable#gui2cui(_[1], _[3])] | endfor
|
for _ in v | let [_[2], _[3]] = [lightline#colortable#gui2cui(_[0], _[2]), lightline#colortable#gui2cui(_[1], _[3])] | endfor
|
||||||
|
|||||||
Reference in New Issue
Block a user