【发布时间】:2016-02-09 08:49:35
【问题描述】:
更新我的 vim 插件后,我遇到了 vim 自动格式化插件 (https://github.com/Chiel92/vim-autoformat) 的问题。
当我运行 :Autoformat 时,我得到一个错误:
对于html:
Definition in 'g:formatdef_htmlbeautify' was unsuccessful.
Definition in 'g:formatdef_tidy_html' was unsuccessful.
No format definitions were successful.
Press ENTER or type command to continue
对于 C/c++:
Definition in 'g:formatdef_clangformat' was unsuccessful.
Definition in 'g:formatdef_astyle_c' was unsuccessful.
No format definitions were successful.
Press ENTER or type command to continue
我通过 apt 包管理器安装了格式化程序,这意味着根据 autoformat 文档,应该意味着插件会自动检测它们。
我尝试重新安装插件,但没有帮助。
【问题讨论】:
-
使用插件的issue tracker。
标签: vim autoformat