Surround.vim:删除嵌入的 ruby 标签
使用 Surround.vim,在 .html.erb 文件中,如果我在“text”前面输入 ysw=,它将正确地给出 <%= text %>。
但是,如果我将光标移到“文本”上并输入 ds=,它不会删除任何内容,如果我正确阅读文档,它应该删除任何内容。
我做错了什么?
谢谢。
Using surround.vim, while in an .html.erb file, if I type ysw= in front of 'text' it will correctly give me <%= text %>.
However, if I move the cursor over 'text' and type ds=, it doesn't delete anything, which if I'm reading the docs correctly, it should.
What am I doing wrong?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为你做错了什么,实际上听起来你遇到了 这个问题。
如果这是一个大问题/时间敏感,您可以向蒂姆询问他提到的重写的一些指导并自己尝试。
除此之外,我认为你运气不好!你唯一能做的就是等待 Tim 亲自实现。
I don't think you're doing anything wrong, it actually sounds like you're running into this issue.
If it is a big issue / time sensitive, you could ask Tim for a bit of guidance on the rewrite he mentions and attempt it yourself.
Other than that, I think you're out of luck! The only thing you can do is wait until Tim implements it himself.