Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Syntax Highlighting Issue (SourceRequest)#495

krmbzds started this conversation inGeneral
Discussion options

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.

You must be logged in to vote

Replies: 1 comment

Comment options

This is probably related to#334

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@krmbzds@mfussenegger

[8]ページ先頭

©2009-2025 Movatter.jp