@bhsd/codemirror-mediawiki 3.11.4 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lua.js CHANGED
@@ -4,7 +4,7 @@ import { syntaxTree, LanguageSupport, StreamLanguage, foldService, HighlightStyl
4
4
  import { snippetCompletion } from '@codemirror/autocomplete';
5
5
  import { tags } from '@lezer/highlight';
6
6
  import { leadingSpaces, sliceDoc } from './util.js';
7
- import { getLightHighlightStyle } from './theme.js';
7
+ import { lightHighlightStyle } from './theme.js';
8
8
  const map = {
9
9
  1: 'constant',
10
10
  2: 'function',
@@ -130,6 +130,7 @@ const map = {
130
130
  server: 1,
131
131
  siteName: 1,
132
132
  stylePath: 1,
133
+ wikiId: 1,
133
134
  namespaces: 3,
134
135
  contentNamespaces: 3,
135
136
  subjectNamespaces: 3,
@@ -438,7 +439,7 @@ const fold = ({ doc, tabSize }, start, from) => {
438
439
  return empty || j === number ? null : { from, to: doc.line(j).to };
439
440
  };
440
441
  const support = [
441
- getLightHighlightStyle(),
442
+ lightHighlightStyle,
442
443
  syntaxHighlighting(HighlightStyle.define([{ tag: tags.standard(tags.variableName), class: 'cm-globals' }])),
443
444
  lang.data.of({ autocomplete: source }),
444
445
  foldService.of(fold),