-
Notifications
You must be signed in to change notification settings - Fork 482
fix(rust): respect user configs #1145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR does three things: - Allows users to overwrite the init options of `rustaceanvim` thru their custom configs; - It gives a heads-up to users that if they're still manually setting up `rust_analyzer`, this will result in two identical servers being spawned; - DAP-related settings are disabled by default to avoid potential conflicts with previous user configurations. IMO since we already have configs for `codelldb` that can be used, users can simply tweak those configs on their own. But I'm not 2 sure about this, as I personally don't do much rust development. What do u guys think?
ayamir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
charliie-dev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems reasonable
This PR does three things: - Allows users to overwrite the init options of `rustaceanvim` thru their custom configs; - It gives a heads-up to users that if they're still manually setting up `rust_analyzer`, this will result in two identical servers being spawned; - DAP-related settings are disabled by default to avoid potential conflicts with previous user configurations. IMO since we already have configs for `codelldb` that can be used, users can simply tweak those configs on their own. But I'm not 2 sure about this, as I personally don't do much rust development. What do u guys think?
This PR does three things: - Allows users to overwrite the init options of `rustaceanvim` thru their custom configs; - It gives a heads-up to users that if they're still manually setting up `rust_analyzer`, this will result in two identical servers being spawned; - DAP-related settings are disabled by default to avoid potential conflicts with previous user configurations. IMO since we already have configs for `codelldb` that can be used, users can simply tweak those configs on their own. But I'm not 2 sure about this, as I personally don't do much rust development. What do u guys think?
|
@CharlesChiuGit thanks for your feed back, I have backport the pr you mentioned a couple dayes ago, still don't work. or is there a command or operation needed to make new config work after changing config? |
|
@yyb196 had u do |



This PR does three things:
Allows users to overwrite the init options of
rustaceanvimthru their custom configs;It gives a heads-up to users that if they're still manually setting up
rust_analyzer, this will result in two identical servers being spawned;DAP-related settings are disabled by default to avoid potential conflicts with previous user configurations. IMO since we already have configs for
codelldbthat can be used, users can simply tweak those configs on their own. But I'm not 2 sure about this, as I personally don't do much rust development. What do u guys think @ClSlaid @CharlesChiuGit @ayamir?