diff options
| author | Nomarian <nomarian@outlook.com> | 2025-10-09 10:20:13 -0400 |
|---|---|---|
| committer | Nomarian <nomarian@outlook.com> | 2025-10-09 10:20:13 -0400 |
| commit | 79ed74eafe28bd22dab717d1504171d775888135 (patch) | |
| tree | 58b1057365010eb4334da85c8814bcb141e2bc60 | |
| parent | 727be9c088ca2b40f00d1d6e25ae70e4b504c436 (diff) | |
| download | vis-spellcheck-79ed74eafe28bd22dab717d1504171d775888135.tar.gz vis-spellcheck-79ed74eafe28bd22dab717d1504171d775888135.zip | |
Shut up luacheck
| -rw-r--r-- | spellcheck.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spellcheck.lua b/spellcheck.lua index 63eb0f4..b5d99fb 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -1,5 +1,7 @@ -- Copyright (c) 2017-2019 Florian Fischer. All rights reserved. -- Use of this source code is governed by a MIT license found in the LICENSE file. +local vis = _G.vis + local spellcheck = {} spellcheck.default_lang = (os.getenv('VIS_SPELLLANG') or os.getenv('LANG') or ''):gsub('[.].*', '') if not spellcheck.default_lang:match('^[a-z][a-z]_[A-Z][A-Z]$') then |
