diff --git a/autoload/SpaceVim/layers/ui.vim b/autoload/SpaceVim/layers/ui.vim index 6bc2387bb..d90218ce6 100644 --- a/autoload/SpaceVim/layers/ui.vim +++ b/autoload/SpaceVim/layers/ui.vim @@ -675,10 +675,12 @@ function! s:increase_font() abort let font_size = str2nr(matchstr(matchstr(&guifont, ':h\d\+'), '\d\+')) let font_size += 1 let &guifont = substitute(&guifont, ':h\d\+', ':h' . font_size, '') + sleep 100m endfunction function! s:reduce_font() abort let font_size = str2nr(matchstr(matchstr(&guifont, ':h\d\+'), '\d\+')) let font_size -= 1 let &guifont = substitute(&guifont, ':h\d\+', ':h' . font_size, '') + sleep 100m endfunction