Skip to content
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

add :features to checkOnSave and use original descriptions #3893

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

brotzeit
Copy link
Member

@brotzeit brotzeit commented Jan 5, 2023

No description provided.

@github-actions github-actions bot added client One or more of lsp-mode language clients rust labels Jan 5, 2023
@brotzeit brotzeit changed the title add :features to checkOnSave and use original descrptions add :features to checkOnSave and use original descriptions Jan 5, 2023
@yyoncho
Copy link
Member

yyoncho commented Jan 5, 2023

how was that even working without this change?!

instead of using the same as rls. Also remove deprecated configuration option :allTargets
@brotzeit
Copy link
Member Author

brotzeit commented Jan 5, 2023

rust-analyzer changes configuration options very frequently. In the past there was :allTargets. It was obviously removed. I replaced it with a new defcustom specifically for rust-analyzer.

@brotzeit brotzeit merged commit 09c2efd into master Jan 6, 2023
@brotzeit brotzeit deleted the ra-options branch January 6, 2023 17:21
@ia0
Copy link
Contributor

ia0 commented Feb 24, 2023

It was obviously removed.

What does this mean? Maybe there's a confusion because checkOnSave was renamed to check, but allTargets still exists as far as I can tell.

I would suggest adding allTargets back.

(Ideally we should probably also rename checkOnSave to check to avoid relying on rust-analyzer doing the renaming for us.)

ia0 added a commit to ia0/lsp-mode that referenced this pull request Feb 25, 2023
This partially reverts emacs-lsp#3893.

The rust-analyzer.checkOnSave.allTargets configuration still exists, although it
is internally renamed by rust-analyzer to rust-analyzer.check.allTargets which
is the new version. Maybe the intent was to remove lsp-rust-all-targets which is
indeed unused by lsp-rust.
brotzeit pushed a commit that referenced this pull request Feb 26, 2023
This partially reverts #3893.

The rust-analyzer.checkOnSave.allTargets configuration still exists, although it
is internally renamed by rust-analyzer to rust-analyzer.check.allTargets which
is the new version. Maybe the intent was to remove lsp-rust-all-targets which is
indeed unused by lsp-rust.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client One or more of lsp-mode language clients rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants