Shougo / neobundle.vim

Next generation Vim package manager
MIT License
2.29k stars 168 forks source link

Fix `unknown function: js_encode` #529

Closed zhuochun closed 6 years ago

zhuochun commented 6 years ago

Fix error Unknown function: js_encode. Similar to fix in neosnippet (https://github.com/Shougo/neosnippet.vim/commit/d6333c191b478cbee869327c5e36bddc62ecfd5e), changed the func to json_encode. Tested locally looks good.

[neobundle] Error occurred while loading cache : Vim(return):E117: Unknown function: js_decode
Error detected while processing function neobundle#commands#save_cache[22]..neobundle#util#vim2json:
line    1:
E117: Unknown function: js_encode
E15: Invalid expression: has('patch-7.4.1498') ? js_encode(a:expr) : string(a:expr)
Shougo commented 6 years ago

Merged.