vscode-kdl
vscode-kdl copied to clipboard
slashdash comments parsing blocks naïvely
slashdash comments are supposed to be bounded by entity, not by simple syntax delimiters, but I don't know how, or if it's even possible, to say something like:
start: "{"
consume: "#children"
end: "}"
Which is what I think it would take to fix this
Oh it looks like you can include patterns: https://macromates.com/manual/en/language_grammars
Oh it looks like you can include patterns: https://macromates.com/manual/en/language_grammars
I think that might also make it possible to highlight node identifiers differently from other strings, with a bit of difficulty, but I haven't tried how TM handles that.