Skip to content

Fix issues causing it to be impossible to use certain workspace config options with eglot#117

Open
lolbinarycat wants to merge 2 commits intoemacs-rustic:mainfrom
lolbinarycat:eglot-options-fix
Open

Fix issues causing it to be impossible to use certain workspace config options with eglot#117
lolbinarycat wants to merge 2 commits intoemacs-rustic:mainfrom
lolbinarycat:eglot-options-fix

Conversation

@lolbinarycat
Copy link
Copy Markdown

rust-analyzer recommends passing the "rust-analyzer" section of the workspace config as initializationOptions, as it needs to know the values of certain options during initialization.

rustic was not only not doing this, it was actually making this basically impossible to do by unconditionally overriding eglot-initialization-options to an implementation that ignored the user-specified initialization options.

fixes #105

otherwise some config options won't function properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rust-analyzer configuration should also be passed as initializaitonOptions

1 participant