We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92d542b commit 7b2fa35Copy full SHA for 7b2fa35
py/vimlfunc.py
@@ -128,6 +128,8 @@ def viml_keys(obj):
128
return obj.keys()
129
130
def viml_len(obj):
131
+ if type(obj) is str:
132
+ return len(obj.encode('utf-8'))
133
return len(obj)
134
135
def viml_printf(*args):
py/vimlparser.py
0 commit comments