We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See also #537.
Optionally, using https://github.com/Joakker/lua-json5.
It may be better to add basic JSON5 support (e.g. ignoring comments and trailing commas) to lua-cjson instead.
The text was updated successfully, but these errors were encountered:
As a temporary workaround, I am overriding vim.json.decode with lua-json5 before loading rustaceanvim:
vim.json.decode
lua-json5
{ 'mrcjkb/rustaceanvim', version = '^5', ft = 'rust', dependencies = { { 'Joakker/lua-json5', build = './install.sh', config = function() -- Support JSON5 syntax in .vscode/settings.json ---@diagnostic disable-next-line: duplicate-set-field vim.json.decode = function(str, _) return require('json5').parse(str) end end, }, }, }
Sorry, something went wrong.
No branches or pull requests
Feature description
See also #537.
Optionally, using https://github.com/Joakker/lua-json5.
It may be better to add basic JSON5 support (e.g. ignoring comments and trailing commas) to lua-cjson instead.
The text was updated successfully, but these errors were encountered: