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

发布于 2024-12-11 15:49:21 字数 638 浏览 0 评论 0原文

当我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏有森光若流苏 2024-12-18 15:49:21

就像@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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文