language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

Syntax highlighting on GitHub doesn't work for vue when optional chaining is used

Open hfhchan-plb opened this issue 1 year ago • 2 comments

This issue exists in @vuejs/vue-syntax-highlight. See https://github.com/vuejs/vue-syntax-highlight/issues/217 for description of the bug.

hfhchan-plb avatar Dec 27 '23 06:12 hfhchan-plb

+1 this has been bugging me quite a bit

Juicetan avatar Mar 23 '24 16:03 Juicetan

@johnsoncodehk should linguist point to the tmlanguage definition of this repo? Seems https://github.com/vuejs/vue-syntax-highlight is 5 years behind. @hfhchan-plb @Juicetan feel free to create a PR at https://github.com/vuejs/vue-syntax-highlight to update it with https://github.com/vuejs/language-tools/blob/master/extensions/vscode/syntaxes/vue.tmLanguage.json

davidmatter avatar Jul 07 '24 13:07 davidmatter