diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-07-30 15:23:37 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-15 21:19:30 +0100 |
commit | ef729fb15b34480048c44e76c29657727053101c (patch) | |
tree | 74f9f6d8536ddfeeaeacce14dd35af66765747cd /test/functional/lua/api_spec.lua | |
parent | af6f454f5c3349821b20bd2f0d846f7ae7343e2e (diff) | |
download | rneovim-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