Guest User

Untitled

a guest
Feb 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. diff --git autoload/unite/sources/neocomplcache.vim autoload/unite/sources/neocomplcache.vim
  2. index f6d0e0e..df58887 100644
  3. --- autoload/unite/sources/neocomplcache.vim
  4. +++ autoload/unite/sources/neocomplcache.vim
  5. @@ -82,7 +82,11 @@ function! s:neocomplcache_source.gather_candidates(args, context) "{{{
  6. let l:dict.abbr .= ' ' . l:keyword.menu
  7. endif
  8. if has_key(l:keyword, 'description')
  9. - let l:dict.action__complete_info = l:keyword.description
  10. + if type(l:keyword.description) ==# 2
  11. + let l:dict.action__complete_info_lazy = l:keyword.description
  12. + else
  13. + let l:dict.action__complete_info = l:keyword.description
  14. + endif
  15. endif
  16.  
  17. call add(l:list, l:dict)
Add Comment
Please, Sign In to add comment