New TypeScript "using" keyword is not highlighted by parser
tmcw opened this issue · 3 comments
tmcw commented
I can see that this support was added in 568d51c
However, it doesn't seem to trickle down through to an actual editor - using
└─┬ @codemirror/lang-javascript@6.1.9
└── @lezer/javascript@1.4.7
"let" and "const" are properly highlighted, but "using" is not:
I'm not sure why - possibly because this is a contextual keyword?
marijnh commented
I added it to the grammar but forgot to attach highlighting information to the token. Attached patch does that.
marijnh commented
Done!