Skip to content

How to get diagnostics to work? #569

@rakanalh

Description

@rakanalh

I have added the following configuration:

   lsp-rust-analyzer-diagnostics-enable t
   lsp-diagnostic-clean-after-change t
   lsp-rust-analyzer-cargo-watch-command "clippy"
   lsp-rust-analyzer-cargo-override-command ["cargo", "clippy", "--message=format=json"]

among others in doom emacs config to get diagnostics to display about the code such as clippy errors.

Nothing really shows when using SPC c x which maps to +default/diagnostics in doom emacs which i believe uses flycheck.

Is this a feature that rustic / lsp-mode support?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions