Add support for vim.eval('v:version') in test bindings

This commit is contained in:
ZyX 2014-08-24 13:41:54 +04:00
parent 6a8074a3d3
commit 5bc1f75b70
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,8 @@ def command(cmd):
def eval(expr):
if expr.startswith('g:'):
return vars[expr[2:]]
elif expr.startswith('v:'):
return vvars[expr[2:]]
elif expr.startswith('&'):
return options[expr[1:]]
elif expr.startswith('$'):