admin管理员组文章数量:1391934
I'm working on a Vim syntax file for a format that allows both single- or multi-line macro definitions. That is, they may look like
MACRO NAME definition...
or
MACRO NAME {
line1
line2
...
}
I'm trying to define a syntax region but I cannot figure out how to specify an end=
that works for both cases. How can I specify that the region should end at either
- the closing
}
if the first line ends with{
, - the first newline otherwise?
Is that even possible?
本文标签: How do I define a vim syntax region with more that one possible endStack Overflow
版权声明:本文标题:How do I define a vim syntax region with more that one possible end - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744680312a2619366.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论