@@ -186,7 +186,7 @@ files take precedence.
186
186
Supported Pairs
187
187
===============
188
188
189
- .. versionchanged :: 0.15.1
189
+ .. versionchanged :: 0.16
190
190
191
191
EditorConfig file sections contain key-value pairs separated by an
192
192
equal sign (``= ``). With the exception of the ``root `` key, all pairs MUST be
@@ -224,6 +224,15 @@ and the supported values associated with them:
224
224
* - ``charset ``
225
225
- Set to ``latin1 ``, ``utf-8 ``, ``utf-8-bom ``, ``utf-16be `` or ``utf-16le `` to
226
226
control the character set. Use of ``utf-8-bom `` is discouraged.
227
+ * - ``spelling_language ``
228
+ - Sets the natural language that should be used for spell checking.
229
+ Only one language can be specified. There is no default value.
230
+
231
+ The format is ``ss `` or ``ss-TT ``, where ``ss `` is an `ISO 639 `_
232
+ language code and ``TT `` is an `ISO 3166 `_ territory identifier.
233
+
234
+ **Note: ** This property does **not ** specify the charset to be used.
235
+ The charset is in separate property ``charset ``.
227
236
* - ``trim_trailing_whitespace ``
228
237
- Set to ``true `` to remove all whitespace characters preceding newline
229
238
characters in the file and ``false `` to ensure it doesn't.
@@ -277,6 +286,8 @@ numbers. Those version numbers are independent of the version number of
277
286
this specification.
278
287
279
288
.. _core-tests repository : https://github.com/editorconfig/editorconfig-core-test
289
+ .. _ISO 639 : https://en.wikipedia.org/wiki/ISO_639
290
+ .. _ISO 3166 : https://en.wikipedia.org/wiki/ISO_3166
280
291
.. _Python configparser Library : https://docs.python.org/3/library/configparser.html
281
292
.. _Plugin Guidelines : https://github.com/editorconfig/editorconfig/wiki/Plugin-Guidelines
282
293
.. _plugin-tests repository : https://github.com/editorconfig/editorconfig-plugin-tests
0 commit comments