From e0c59627c5adf95a2da57867f82c81970d123a93 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 26 Aug 2020 14:52:21 +0200 Subject: remove unused variable definitions --- spellcheck.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'spellcheck.lua') 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 -- cgit v1.2.3