@bhsd/codemirror-mediawiki 2.1.10 → 2.1.12

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/README.md CHANGED
@@ -122,7 +122,7 @@ Get the default linting function, which can be used as the argument of [`lint`](
122
122
 
123
123
  ```js
124
124
  const linter = await cm.getLinter(); // default linter configuration
125
- const linterMediawiki = await cm.getLinter({include}); // wikilint configuration
125
+ const linterMediawiki = await cm.getLinter({include: true, i18n: 'zh-hans'}); // wikilint configuration
126
126
  const linterJavaScript = await cm.getLinter({env, parserOptions, rules}); // ESLint configuration
127
127
  const linterCSS = await cm.getLinter({rules}); // Stylelint configuration
128
128
  ```
@@ -172,6 +172,7 @@ cm.prefer([
172
172
  'highlightSpecialChars',
173
173
  'highlightWhitespace',
174
174
  'highlightTrailingWhitespace',
175
+ 'allowMultipleSelections',
175
176
  ]);
176
177
  ```
177
178