aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-10-05 08:37:20 -0700
committerGitHub <noreply@github.com>2021-10-05 08:37:20 -0700
commit912a6e5a9c58fce74134f9f8c2801373928e8289 (patch)
treef087a00bf0892c3b5ba314c5b2bebe45fd576883 /scripts/gen_vimdoc.py
parentf6c0a37b021cebe7fda730f2116c763b6464203d (diff)
downloadrneovim-912a6e5a9c58fce74134f9f8c2801373928e8289.tar.gz
rneovim-912a6e5a9c58fce74134f9f8c2801373928e8289.tar.bz2
rneovim-912a6e5a9c58fce74134f9f8c2801373928e8289.zip
feat(lsp): improve json deserialization performance (#15854)
* Add optional second table argument to vim.json.decode which takes a table 'luanil' which can include the 'object' and/or 'array' keys. These options use luanil when converting NULL in json objects and arrays respectively. The default behavior matches the original lua-cjson. * Remove recursive_convert_NIL function from rpc.lua, use vim.json.decode with luanil = { object = true } instead. This removes a hotpath in the json deserialization pipeline by dropping keys with json NULL values throughout the deserialized table.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions