Skip to content

Extend dap.configurations.rust with discovered configurations, then use that in RustLsp debuggables #66

@mrcjkb

Description

@mrcjkb
          I'm not entirely sure (this was taken over from rust-tools.nvim).

I believe it may be to avoid overriding existing dap rust or lldb configurations.

Perhaps a better approach to this would be to load dap.configurations.rust and to extend it with the discovered configurations, and then to query nvim-dap for configurations to run.
That is how I do it in haskell-tools.nvim.

But maybe this is for another PR. I'll create an issue for it 😄

Originally posted by @mrcjkb in #64 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions