aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index 5e5b86b..817279c 100644
--- a/init.lua
+++ b/init.lua
@@ -24,10 +24,8 @@ local count
local char_next = 17
local function at_or_after(_, _, pos, start, finish, is_number)
- if start and finish then
- if pos >= start and pos < finish or is_number and pos < start then
- return true, start, finish
- end
+ if pos >= start and pos < finish or is_number and pos < start then
+ return true, start, finish
end
end