gpt4 book ai didi

html - 让 XMLEdit 为 html 扩展工作

转载 作者:太空宇宙 更新时间:2023-11-04 13:55:16 24 4
gpt4 key购买 nike

您好,我刚刚开始尝试使用 vim 的 XMLedit 插件 (https://github.com/sukima/xmledit/)。我注意到它适用于 xml 文件类型和 xhtml 文件类型,但不适用于 html 文件类型。我该如何解决?

我使用了病原体安装。

最佳答案

其他答案都是正确的,但有些人可能不清楚。解释如下:

来自 xmledit 的 document :

To add html support Sym-link or copy this file to html.vim in your ftplugin directory.

这是你可以做的:

# Assuming you are using vundle
$ cd ~/.vim/bundle/xmledit/ftplugin
$ ls
html.vim php.vim xhtml.vim xml.vim
# The html.vim already exists, so we will change its name (or delete if you want)
$ mv html.vim html.vim.bk
# symlink
$ ln -s xml.vim html.vim

关于html - 让 XMLEdit 为 html 扩展工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13101043/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com