This PR removes the luanil opts from the vim.json.decode, since when they are provided all instances of key-value pairs with null values are removed, see my issue in neovim. lua-tables cannot hold nil values:
Like indices, the value of a table field can be of any type (except `nil`). In
particular, because functions are first-class values, table fields may contain
functions. Thus tables may also carry methods (see |lua-function-define|).
This PR removes the luanil opts from the
vim.json.decode
, since when they are provided all instances of key-value pairs with null values are removed, see my issue in neovim. lua-tables cannot hold nil values:which is the root cause to this behavior.