diff options
author | Frank Seifferth <frankseifferth@posteo.net> | 2023-09-25 10:06:24 +0200 |
---|---|---|
committer | Frank Seifferth <frankseifferth@posteo.net> | 2023-09-25 10:15:10 +0200 |
commit | d99ec6bb31b042bf0b6111c20d622f64636d2ed6 (patch) | |
tree | 5d48f17ddb4dad4f179a620ed455cff30eb21340 | |
parent | fb24ccf1b19fcc38de8cddbdd9883fff523d2e31 (diff) | |
download | vis-editorconfig-d99ec6bb31b042bf0b6111c20d622f64636d2ed6.tar.gz |
Rename 'spell_language' to 'spelling_language'
Discussion on the editorconfig standard seems to converge
on calling the property 'spelling_language' rather than
'spell_language' (see [1]). This commit adjusts both the
value that is expected to be found in .editorconfig files
as well as the internal variable that stores this property.
Note to editorconfig users: This commit changes the plugin's
behaviour in a non backwards compatible way. All editorconfig
files that contain the 'spell_language' property need to be
updated.
Note to spellchecker plugin developers: Since this commit
also updates the internal variable name, plugins need to
update this name as well.
[1] https://github.com/editorconfig/specification/pull/41
-rw-r--r-- | edconf.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -116,8 +116,8 @@ OPTIONS = { vis_set("tabwidth", value) end, - spell_language = function (value, file) - file.spell_language = value + spelling_language = function (value, file) + file.spelling_language = value end, insert_final_newline = function (value) |