Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 135 forks source link

Fixed truncate_smart() deprecation warning #483

Closed rhysd closed 10 years ago

rhysd commented 10 years ago

if_lua が使えない Vim では neocomplcache を使っているのですが,補完実行のたびに :message に警告が出ていることに気づきました.

function neocomplcache#complete#auto_complete..neocomplcache#complete#manual_complete..neocomplcache#complete#_get_words..neocomplcache#helper#call_filters..101..neocomplcache#util#truncate_smart..<SNR>136_truncate_smart,  line 1
Vim(echoerr):Prelude.truncate_smart() is obsolete. Use its truncate_skipping() instead; they are equivalent.
[unite.vim] Error occured in calling filter converter_abbr!
[unite.vim] Source name is vim_complete

Vital.Prelude 内での deprecation error だったので,修正してみました.

Shougo commented 10 years ago

Thanks.