Skip to content

Commit 11d22ba

Browse files
committed
Fix plugin decorator for range arguments
1 parent 345b802 commit 11d22ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neovim/plugin/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def dec(f):
5353

5454
opts = {}
5555

56-
if range:
56+
if range is not None:
5757
opts['range'] = '' if range is True else str(range)
5858
elif count:
5959
opts['count'] = count

0 commit comments

Comments
 (0)