Remove comments and trailing whitespaces from json using treesitter before calling json_decode.
VSCode uses jsonc (json with comments) in its configuration files sometimes breaking calls to neovim json_decode.
This PR adds dependency to jsonc parser for treesitter.
Remove comments and trailing whitespaces from json using treesitter before calling
json_decode
. VSCode uses jsonc (json with comments) in its configuration files sometimes breaking calls to neovimjson_decode
.This PR adds dependency to jsonc parser for treesitter.