Skip to content

Commit

Permalink
menu icon right align
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Dec 30, 2023
1 parent 7b7be16 commit 7fcc14e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autoload/easycomplete/pum.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7fcc14e

Please sign in to comment.