viml/parser/expressions: Make $ENV not depend on &isident

This commit is contained in:
ZyX
2017-11-26 16:08:53 +03:00
parent 11a05e778f
commit 17077b6813
3 changed files with 15 additions and 9 deletions

View File

@@ -717,6 +717,9 @@ describe('api', function()
end)
describe('nvim_parse_expression', function()
before_each(function()
meths.set_option('isident', '')
end)
local function simplify_east_api_node(line, east_api_node)
if east_api_node == NIL then
return nil