Hello, I usenvim-dap along withnvim-dap-ruby to debug Ruby code. With release1.5.0 ofdebug.rb, syntax highlighting stopped working for me. I reported this inrelease issues of debug.rb and got some feedback regarding nvim-dap. Quoting fromruby/debug#598 (comment): nvim dap support seems no coloring on src acquired bySource request (VSCode does). I think it should be fixed on nvim dap support (*1) To cancelSource request,localfs configuration should be added in launch.json on VSCode. This configuration is passed to DAP (debug.gem) bylaunch orattach request arguments (VSCode pass the configuration in arguments). But it is implementation defined way, and not sure nvim DAP support can pass these parameters. We can make further heuristics, for example assumelocalfs = true if host is localhost. But I'm not sure we can cover all of them (for example, 127.0.0.1 is not only local node IP address).
(*1) For example,eval'ed code should be acquired bySource request, so fixing it will help.
I started this discussion to pass-on the suggestions made by@ko1 as I do not have enough knowledge on eithernvim-dap ordebug.rb to open a proper issue for this. If anyone's generous enough to explain what's going on or suggest a workaround for this I'm all ears. |