mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 23:40:06 +08:00
Fix fileicon
This commit is contained in:
parent
ecdf5fe47b
commit
c349dd049c
@ -63,8 +63,8 @@ endif
|
|||||||
call SpaceVim#mapping#space#def('nnoremap', ['a','s'], 'Startify | doautocmd WinEnter', 'fancy start screen',1)
|
call SpaceVim#mapping#space#def('nnoremap', ['a','s'], 'Startify | doautocmd WinEnter', 'fancy start screen',1)
|
||||||
|
|
||||||
function! FileIcon(path)
|
function! FileIcon(path)
|
||||||
echom a:path
|
let icon = s:FILE.fticon(a:path)
|
||||||
return s:FILE.fticon(a:path)
|
return empty(icon) ? ' ' : icon
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! StartifyEntryFormat()
|
function! StartifyEntryFormat()
|
||||||
|
Loading…
Reference in New Issue
Block a user