jlelong / vscode-latex-basics

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

Add the same color syntax highlighting to zref/zlabel provided by zref as ref/label #91

Closed Yarakashi-Kikohshi closed 4 months ago

Yarakashi-Kikohshi commented 5 months ago

The commands \zref[option]{foo} and \zlabel{foo} provided by zref receive different syntax highlighting than \ref and \label.

\label{foo}
\zlabel{foo}

\zref{foo}
\zref[option]{foo}

image

\zref with option and \zlabel are variations of \ref and \label, and are commands with the same meaning. Therefore, they should have the same color syntax highlighting.

Version