mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Fix leader (#2347)
This commit is contained in:
parent
d70ad4c0b7
commit
c2569c36e7
@ -625,7 +625,7 @@ if get(g:, 'mapleader', '\') == ' '
|
|||||||
call SpaceVim#mapping#guide#register_prefix_descriptions(' ',
|
call SpaceVim#mapping#guide#register_prefix_descriptions(' ',
|
||||||
\ 'g:_spacevim_mappings')
|
\ 'g:_spacevim_mappings')
|
||||||
else
|
else
|
||||||
call SpaceVim#mapping#guide#register_prefix_descriptions('\',
|
call SpaceVim#mapping#guide#register_prefix_descriptions(get(g:, 'mapleader', '\'),
|
||||||
\ 'g:_spacevim_mappings')
|
\ 'g:_spacevim_mappings')
|
||||||
call SpaceVim#plugins#help#regist_root({'<leader>' : g:_spacevim_mappings})
|
call SpaceVim#plugins#help#regist_root({'<leader>' : g:_spacevim_mappings})
|
||||||
call SpaceVim#mapping#guide#register_prefix_descriptions(' ',
|
call SpaceVim#mapping#guide#register_prefix_descriptions(' ',
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
if exists('g:GuiLoaded')
|
if exists('g:GuiLoaded')
|
||||||
if empty(g:spacevim_guifont)
|
if empty(g:spacevim_guifont)
|
||||||
exe 'Guifont! DejaVu Sans Mono for Powerline:h11:cANSI:qDRAFT'
|
exe 'Guifont! SauceCodePro Nerd Font Mono:h11:cANSI:qDRAFT'
|
||||||
else
|
else
|
||||||
exe 'Guifont! ' . g:spacevim_guifont
|
exe 'Guifont! ' . g:spacevim_guifont
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user