Use Rust-Analyzer to check after every edit

Hi, I have rust-analyzer installed and used LspConfig to set everything uo. Currently, the rust-analyzer.checkOnSave.command, which in this case is clippy, only runs when the file is saved. Is there any known way to instead do this after every edit? It’s annoying to have to press :w after every change to get clippy to run.

2 Likes