diff options
author | fischerling <florian.fischer@muhq.space> | 2023-09-25 16:50:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 16:50:49 +0200 |
commit | f1c220802abcbb10a139ef99c98c803c10ca74e5 (patch) | |
tree | a2aafa01e7e1676319c9098b890f09ac8abe724b | |
parent | 1f5335b4377080eb8e57ffd2b09b31e6af29a003 (diff) | |
parent | ce9225364b018bab8ca5988b82a4d662c07c837e (diff) | |
download | vis-spellcheck-f1c220802abcbb10a139ef99c98c803c10ca74e5.tar.gz |
Merge pull request #11 from seifferth/patch-1
Rename 'spell_language' to 'spelling_language'
-rw-r--r-- | spellcheck.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spellcheck.lua b/spellcheck.lua index 94b0f57..c0082c7 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -7,8 +7,8 @@ if not spellcheck.default_lang:match('^[a-z][a-z]_[A-Z][A-Z]$') then end spellcheck.get_lang = function() - if vis.win.file.spell_language then - return vis.win.file.spell_language + if vis.win.file.spelling_language then + return vis.win.file.spelling_language else return spellcheck.default_lang end |