NERDTree在Windows 7(x64)上导致gvim(v7.3)出现问题

时间:2011-10-24 00:18:46

标签: windows vim vim-plugin

当我在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>

1 个答案:

答案 0 :(得分:5)

就像@ZyX和@GWW所说的,看起来你通过右键点击GitHub网站和save the link as ...中的链接获得了nerdtree.vim文件,这样就得到了一个HTML页面。

This Page重新下载您的nerdtree.vim文件,点击已发布的NERD_tree.zip链接,解压缩并替换nerdtree.vim文件。