diff options
author | Georgi Kirilov <in.the@repo> | 2020-05-20 20:13:10 +0300 |
---|---|---|
committer | Georgi Kirilov <in.the@repo> | 2020-05-20 20:13:10 +0300 |
commit | 65533462ed4018d4c14e6c919bcdb8209b755ad2 (patch) | |
tree | ada102d2c32b7de4e70edcb606cd935957ff5b34 | |
parent | d8b1d482541cc05d3ff664a2ba352daf3d2960ac (diff) | |
download | vis-toggler-65533462ed4018d4c14e6c919bcdb8209b755ad2.tar.gz |
remove unnecessary nil check
-rw-r--r-- | init.lua | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |