Просмотр исходного кода

[cm6] Remove .extension from extension definitions (#14694)

GitOrigin-RevId: c15fee6b8d3b80cd32d2c3885dc885179e2a3a5b
Alf Eaton 3 лет назад
Родитель
Сommit
daec475bb2

+ 3 - 3
services/web/frontend/js/features/source-editor/languages/latex/index.ts

@@ -31,9 +31,9 @@ const completionSources: CompletionSource[] = [
 export const latex = () => {
   return new LanguageSupport(LaTeXLanguage, [
     shortcuts(),
-    documentOutline.extension,
-    documentCommands.extension,
-    documentEnvironmentNames.extension,
+    documentOutline,
+    documentCommands,
+    documentEnvironmentNames,
     latexIndentService(),
     linting(),
     metadata(),