Use Microsoft's JSONC parser to allow nvim-dap to read launch.json
with comments, trailing comma, ...
#1494
brianhuster
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
~/.config/nvim/rplugin/node/jsonc/index.js
and set current directory to its parentindex.js
you just created. This Javascript snippet defines a Vimscript functionJsoncDecode()
that you can call from Lua as wellnvim-dap
config:UpdateRemotePlugin
and restart NvimBeta Was this translation helpful? Give feedback.
All reactions