diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-08-26 14:52:21 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-08-26 14:52:21 +0200 |
| commit | e0c59627c5adf95a2da57867f82c81970d123a93 (patch) | |
| tree | d0fd39140337f2a5af49ecbe0af56cfa4fab8c8c | |
| parent | 6619dd4570be1b00f5611138ce32fda414e69ba7 (diff) | |
| download | vis-spellcheck-e0c59627c5adf95a2da57867f82c81970d123a93.tar.gz vis-spellcheck-e0c59627c5adf95a2da57867f82c81970d123a93.zip | |
remove unused variable definitions
| -rw-r--r-- | spellcheck.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spellcheck.lua b/spellcheck.lua index 52a2e54..73b4650 100644 --- a/spellcheck.lua +++ b/spellcheck.lua @@ -123,7 +123,6 @@ local wrapped_lex_funcs = {} local wrap_lex_func = function(old_lex_func) return function(lexer, data, index, redrawtime_max) - -- vis:info("hooked lexer.lex") local tokens, timedout = old_lex_func(lexer, data, index, redrawtime_max) -- quit early if the lexer already took to long @@ -133,9 +132,7 @@ local wrap_lex_func = function(old_lex_func) return tokens, timedout end - local log = nil local win = vis.win - local cmd = spellcheck.list_cmd:format(spellcheck.lang) local new_tokens = {} -- get file position we lex |
