aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2026-06-29 14:16:38 +0200
committerbfredl <bjorn.linse@gmail.com>2026-06-29 14:20:09 +0200
commit71b28da0f41e7389247a3421c38f0a83d8010c90 (patch)
treedf7753add6c95abbbd99341c2104ce56acbbb5ef /test/functional/vimscript/executable_spec.lua
parentc6dd97cc647ce72e1401baa01af6ee24e5d2e1df (diff)
downloadrneovim-71b28da0f41e7389247a3421c38f0a83d8010c90.tar.gz
rneovim-71b28da0f41e7389247a3421c38f0a83d8010c90.tar.bz2
rneovim-71b28da0f41e7389247a3421c38f0a83d8010c90.zip
fix(lua): give nicer error message when trying to index vim.NIL
The added test shows the context, one expected a JSON field to be a Object but it was a null value pros: shows `vim.NIL` instead of `a userdata` cons: the context `field 'foo'` is lost. I think this is generated with internal magic which is hard to replicate.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions