Skip to content

Commit 4f5f2a3

Browse files
committed
bugfix for showcompleteinfo error
1 parent 64da6ce commit 4f5f2a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/easycomplete/util.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ function! easycomplete#util#GetInfoByCompleteItem(item, all_menu)
279279
endif
280280
endfor
281281
let max_height = 50
282+
if type(info) == type("")
283+
let info = [info]
284+
endif
282285
if len(info) > max_height
283286
let info = info[0:50] + ["..."]
284287
endif

0 commit comments

Comments
 (0)