diff options
| author | bfredl <bjorn.linse@gmail.com> | 2026-06-29 14:16:38 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2026-06-29 14:20:09 +0200 |
| commit | 71b28da0f41e7389247a3421c38f0a83d8010c90 (patch) | |
| tree | df7753add6c95abbbd99341c2104ce56acbbb5ef /test/functional/vimscript/executable_spec.lua | |
| parent | c6dd97cc647ce72e1401baa01af6ee24e5d2e1df (diff) | |
| download | rneovim-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