aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/api_spec.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-07-30 15:23:37 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-09-15 21:19:30 +0100
commitef729fb15b34480048c44e76c29657727053101c (patch)
tree74f9f6d8536ddfeeaeacce14dd35af66765747cd /test/functional/lua/api_spec.lua
parentaf6f454f5c3349821b20bd2f0d846f7ae7343e2e (diff)
downloadrneovim-ef729fb15b34480048c44e76c29657727053101c.tar.gz
rneovim-ef729fb15b34480048c44e76c29657727053101c.tar.bz2
rneovim-ef729fb15b34480048c44e76c29657727053101c.zip
feat(shada): restore Blob globals properly
As Strings and Blobs are encoded as msgpack BINs, the current ShaDa implementation will restore global Blob variables as Strings (or msgpack special dicts if they contain NULs). Encode an additional element with Blob globals to differentiate them from Strings so that we can restore them with the correct type. Adjust variables_spec.lua's autotest() to also check for proper type.
Diffstat (limited to 'test/functional/lua/api_spec.lua')
0 files changed, 0 insertions, 0 deletions