Giter Site home page Giter Site logo

Rust debug error... about astrocommunity HOT 10 CLOSED

astronvim avatar astronvim commented on May 30, 2024
Rust debug error...

from astrocommunity.

Comments (10)

luxus avatar luxus commented on May 30, 2024

u will break a lot of stuff if you add lsps like that. the code you post in the picture will overwrite everything.
btw please use codeblocks instead of screenshots
and codellb is already provided by the rust pack.. but maybe ur code is overwriting it.
remove the code from the first screenshot

from astrocommunity.

duanyuluo avatar duanyuluo commented on May 30, 2024

u will break a lot of stuff if you add lsps like that. the code you post in the picture will overwrite everything. btw please use codeblocks instead of screenshots and codellb is already provided by the rust pack.. but maybe ur code is overwriting it. remove the code from the first screenshot

I have remove other lsp server and dap config. But this question is still exist.
I can debug rust project by F5 F9, but this issue happen while I use :RustHoverAction -> debug, or :RustDebugable .

BTW, this issue is maybe same with simrat39/rust-tools.nvim#244
My lua is so poor... I can't research and debug astronvim's source codes...

thanks a lot @luxus

from astrocommunity.

luxus avatar luxus commented on May 30, 2024

Please remove the code from the first screenshot

from astrocommunity.

luxus avatar luxus commented on May 30, 2024

@Uzaaft any idea?

from astrocommunity.

duanyuluo avatar duanyuluo commented on May 30, 2024

I have remove it. https://github.com/duanyuluo/dotfile/blob/master/nvim/plugins/mason.lua
but this issue still exist...

from astrocommunity.

duanyuluo avatar duanyuluo commented on May 30, 2024

I only remain three pack: go rust python. (ruff_lsp could not install)

from astrocommunity.

Uzaaft avatar Uzaaft commented on May 30, 2024

rust debugging works fine for me currently.
Are you sure that it's not rustrust-cfg.lua that fucks up things at your end?

from astrocommunity.

duanyuluo avatar duanyuluo commented on May 30, 2024

I will close this issue now. let me known how to modify rust-tool default mapping without disturbing debug :)
Thank a lot @Uzaaft

from astrocommunity.

duanyuluo avatar duanyuluo commented on May 30, 2024
Screenshot 2023-05-29 at 00 52 39

from astrocommunity.

Uzaaft avatar Uzaaft commented on May 30, 2024

I believe the keys table in lazy.nvim allows you to do that.

from astrocommunity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.