From 3d5bceffee8c3110fce945cb5e9c592c745a7985 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Wed, 30 Oct 2024 09:15:14 +0000 Subject: [PATCH] Disable spell check for figure environment optional argument (#21417) GitOrigin-RevId: cbf6a072b9675a69176123d14ec34d97a0277b0a --- .../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 51fe607a56..7fa86ac275 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 @@ -133,6 +133,7 @@ export const LaTeXLanguage = LRLanguage.define({ ['IncludeGraphics'], ['LineBreak'], ['UsePackage'], + ['FigureEnvironment', 'BeginEnv'], ], ShortTextArgument: [['Date']], TextArgument: [['TabularEnvironment', 'BeginEnv']],