(local {: setup} (require :rust-tools)) (setup {:server {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv]} :check {:command :clippy}}} ;; TODO: workaround https://github.com/rust-lang/rust-analyzer/issues/16867#issuecomment-2009391788 :capabilities {:experimental {:snippetTextEdit false}}}})