Skip to content

Commit

Permalink
Increase maxlen depending on cmdheight
Browse files Browse the repository at this point in the history
A small change to increase the max length of displayed signature if the set cmdheight can accommodate it
  • Loading branch information
TheConfuZzledDude committed Jul 28, 2018
1 parent f1f711b commit bebe553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/echodoc/default.vim
Expand Up @@ -94,7 +94,7 @@ function! echodoc#default#make_cache(filetype) abort
endif
for candidate in candidates
let v_comp = echodoc#util#completion_signature(
\ candidate, &columns - 1, a:filetype)
\ candidate, &columns * &cmdheight - 1, a:filetype)
if empty(v_comp)
continue
endif
Expand Down

0 comments on commit bebe553

Please sign in to comment.