admin管理员组文章数量:1344608
So I'm writing in the Typst
language and I modified the language-configuration.json
file of the language server extension and added the _
and *
characters to the autoclosing pairs for italics and bold text respectively. But I don't want it to enter into effect when I'm typing in equation mode (inside two $
symbols, not necessarly on the same line).
I read through the vscode extension API's section on language-configuration.json
and I found the behaviour that I was looking for through the notIn
option to add to each pair type. The problem is the only two options available are comment
or string
(as far as I could tell).
How can I add a definition for "equation", that being text between two $
symbols, so that vscode can recognize it?
本文标签:
版权声明:本文标题:typst - Is it possible to define custom "notIn" options for autoClosingPairs in the `language-configuration.js 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743779201a2537531.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论