diff --git a/services/web/frontend/js/features/source-editor/languages/latex/latex-language.ts b/services/web/frontend/js/features/source-editor/languages/latex/latex-language.ts index 50745b8ddf..da9291f38b 100644 --- a/services/web/frontend/js/features/source-editor/languages/latex/latex-language.ts +++ b/services/web/frontend/js/features/source-editor/languages/latex/latex-language.ts @@ -106,6 +106,9 @@ export const LaTeXLanguage = LRLanguage.define({ Tokens.ctrlSym.includes(type.name) ) { types.push('$CtrlSeq') + if (Tokens.ctrlSym.includes(type.name)) { + types.push('$CtrlSym') + } } else if (Tokens.envName.includes(type.name)) { types.push('$EnvName') } else if (type.name.endsWith('Argument')) {