Open senyai opened 7 months ago
I haven't test it
but you do have 2 errors in "path-attribute"
and I think you mean $
for end of line, instead of ^
; start of line
I haven't test it but you do have 2 errors in
"path-attribute"
Thank you, @RedCMD. I do. How did you get that nice highlighting? Fixing this, fixed the matching. I will keep the issue open, as I hope to see inspect
command to not hide this kind of errors.
Hello!
I'm writing my first TextMate grammar and I can't figure out why
(<->)
rule does not math. This is my pikchr.tmLanguage.json and my code sample isarrow <-> down 70% from last box.s
. To see that the rule doesn't match I runnpm run inspect pikchr.tmLanguage.json example.pikchr
When I enable regexp debugging by adding
| 8
to options (https://github.com/microsoft/vscode-textmate/blob/8b07a3c2be6fe4674f9ce6bba6d5c962a7f50df5/src/rule.ts#L884)const result = this.scanner.findNextMatchSync(string, startPosition, options | 8);
the rule
(<->)
does match. Does anyone have any ideas what's going on? I'm using main branch and node v18.18.0.