NERDTree 在 Windows 7 (x64) 上导致 gvim (v7.3) 出现问题
当我在 vimfiles\plugin\
区域安装 NERDTree.vim 后尝试打开时,GVim 报告了很多错误。
我收到很多错误屏幕,第一个屏幕的前几个错误如下 ---
Error detected while processing .....vimfiles\plugin\NERD_tree.vim:
line 4:
E477: No ! allowed: <!DOCTYPE html>
line 5:
E488: Trailing characters: <html>
line 6:
E488: Trailing characters: <head>
line 7:
E488: Trailing characters: <meta charset='utf-8'>
line 8:
E488: Trailing characters: <meta http-equiv=
line 9:
E488: Trailing characters: <title>plugin/NERD_tree.vim at master from scrooloose/nerdtree - GitHub</title>
GVim reports a lot of errors when I try to open after installing NERDTree.vim in vimfiles\plugin\
area.
I get many error screens, the first screen's first few errors are as follows ---
Error detected while processing .....vimfiles\plugin\NERD_tree.vim:
line 4:
E477: No ! allowed: <!DOCTYPE html>
line 5:
E488: Trailing characters: <html>
line 6:
E488: Trailing characters: <head>
line 7:
E488: Trailing characters: <meta charset='utf-8'>
line 8:
E488: Trailing characters: <meta http-equiv=
line 9:
E488: Trailing characters: <title>plugin/NERD_tree.vim at master from scrooloose/nerdtree - GitHub</title>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
就像@ZyX和@GWW所说,看起来你通过右键单击GitHub站点中的链接并
将链接另存为...
来获取nerdtree.vim文件,这样你就得到了一个HTML页面。在 此页面 重新下载 nerdtree.vim 文件,单击最后的
NERD_tree.zip
链接,解压并替换 nerdtree.vim 文件。Like @ZyX and @GWW said, looks like you get the nerdtree.vim file by right click the link in GitHub site and
save the link as ...
, by that way you got a HTML page.Redownload your nerdtree.vim file at This Page, click the lasted
NERD_tree.zip
link, unzip it and replace the nerdtree.vim file.