Hello! Sorry my bad english.
I make own syntax highlighting for code with next structure:
With scope definitions all right. I write syntax highlighting, comments and code-blocks definite right. But. I type keyword of snippet in comment, and snippet don’t work. Can I make snippet, which will worked in comment scopes? Or it posiible only in plugin?
Maybe there is an scope of comment, where i can use snippets?
Snippet for example:
Example of Syntax
contexts:
main:
- match: “”
push:
- include: preprocessor
- match: "."
scope: comment.line.documentation.qsp
with_prototype:
- match: ^(\s?)(#)\s?.+$
scope: …