diff --git a/autoload/easycomplete/pum.vim b/autoload/easycomplete/pum.vim index 1064856b..25c14d37 100644 --- a/autoload/easycomplete/pum.vim +++ b/autoload/easycomplete/pum.vim @@ -762,7 +762,11 @@ function! s:fullfill(word, length) return a:word endif let inc = a:length - word_length - return a:word . repeat(" ", inc) + if g:easycomplete_nerd_font + return repeat(" ", inc) . a:word + else + return a:word . repeat(" ", inc) + endif endfunction function! easycomplete#pum#fullfill(word, length)