brotzeit / rustic

Rust development environment for Emacs
Apache License 2.0
726 stars 102 forks source link

Support goto-error like 'compile' for 'clippy' #539

Open roife opened 10 months ago

roife commented 10 months ago

Currently, rustic only supports goto-error in rustic-compilation-mode.

image

However, the output format of Clippy is the same as rustc. Thus, the parser in rustic-compile-goto-error-hook can be reused for rustic-cargo-clippy-mode

roife commented 10 months ago

Oh I find it is better to use derived-mode-p, so rustfmt and cargo check will also benefit from it.