jlelong / vscode-latex-basics

LaTeX grammars for Visual Studio Code
MIT License
19 stars 10 forks source link

Incorrect scope for utf8 characters in labels #45

Closed Enivex closed 1 year ago

Enivex commented 1 year ago

A clear and concise description of what the bug is.

image

ö does not get the "constant.other.reference.label.latex" that the other letters get

A minimal example to reproduce the issue

jlelong commented 1 year ago

This was because the regex class \w does not contains characters with accent. We know the \p{Alphabetic} utf-8 class.