使用breakindent补丁编译vim,我现在的字符无法正确显示

发布于 2024-11-13 12:01:11 字数 197 浏览 3 评论 0原文

编译 vim 后(我真的想要断行缩进功能,但由于某种原因在普通 vim 中不可用),它不会显示某些字符,例如弯引号或项目符号点。此外,它给我一个语法文件中已注释掉的行的错误: Not an editor command: " Vim Syntax Script. 我本以为它会理解开头的 "该行作为注释的指示。我没有这些问题,是来自存储库的正常 vim。

After compiling vim (I really wanted the breakindent feature, which wasn't available in vanilla vim for some reason), it won't display certain characters, like curly quotes or bullet points. Furthermore, it gives me an error for a line that has been commented out in a syntax file: Not an editor command: " Vim Syntax Script. I would have thought it would understand the " in the beginning of the line as indicative of a comment. I don't have these issues is the normal vim from the repos.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

誰ツ都不明白 2024-11-20 12:01:11

您的发行版可能还对 vim 应用了其他补丁,以使其适合您的环境。如果您自己编译它,您将错过他们为使其适合您的系统而所做的所有工作。

您可能应该弄清楚如何使用发行版编译系统进行编译,而不是从头开始。一旦您可以从发行版源存储库编译版本和补丁集,那么您就可以调整该过程以添加其他补丁,事情应该会更加顺利。

Your distro likely has other patches applied to vim to make it fit your environment. By compiling it yourself you are missing out on all the work they have done to make it fit your system.

You should probably figure out how to compile using the distro compile system instead of from scratch. Once you can compile the version and patch set from your distros source repository, then you can tweak that process to add your other patch and things should wind up smoother for you.

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