Skip to content

rust-analyzer configuration should also be passed as initializaitonOptions #105

@lolbinarycat

Description

@lolbinarycat

eglot-workspace-configuration (what rust-lang/rust uses in its dir-locals.el) only sets the workspace configuration, which is distinct from the initialization options. The recommended way to configure rust-analyzer is via the initialization options, which are currently not being set.

I believe eglot-initialization-options being overridden (without calling cl-call-next-method) by rustic mode also makes this worse by disrupting the normal way of configuring initializationOptions, which is through eglot-server-programs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions