mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 08:32:42 +00:00
Return nil instead of NIL for vim.env (#11486)
This commit is contained in:
@@ -569,7 +569,7 @@ describe('lua stdlib', function()
|
||||
vim.fn.setenv("A", 123)
|
||||
]]
|
||||
eq('123', funcs.luaeval "vim.env.A")
|
||||
eq(NIL, funcs.luaeval "vim.env.B")
|
||||
eq(true, funcs.luaeval "vim.env.B == nil")
|
||||
end)
|
||||
|
||||
it('vim.v', function()
|
||||
|
||||
Reference in New Issue
Block a user