From 7d3cd1a05541498c00500e013147c7d8acd9299c Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Tue, 11 Jul 2023 14:35:55 +0100 Subject: [PATCH] Add syntax highlighting for Ampersand nodes (#13737) GitOrigin-RevId: 39c81ecb765adc4b33244b5f0f1eab81594dcba1 --- .../js/features/source-editor/languages/latex/latex-language.ts | 1 + 1 file changed, 1 insertion(+) 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 9e00c14755..ecdf976875 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 @@ -166,6 +166,7 @@ export const LaTeXLanguage = LRLanguage.define({ MathDelimiter: t.literal, DoubleDollar: t.keyword, Tilde: t.keyword, + Ampersand: t.keyword, Comment: t.comment, 'UsePackage/OptionalArgument/ShortOptionalArg/Normal': t.attributeValue, 'UsePackage/ShortTextArgument/ShortArg/Normal': t.tagName,