@ -20,6 +20,9 @@
;;; Start lsp mode for Rust buffers
(add-hook 'rust-mode-hook #'lsp)
;;; Start the yas-minor-mode for Rust buffers
(add-hook 'rust-mode-hook #'yas-minor-mode)
;;; Use projectile to find project roots
(projectile-mode t)
(setq lsp-auto-guess-root t)
@ -4,4 +4,6 @@ import <shells/base.nix> "rust-stable" (pkgs: with pkgs; [
cargo-watch
clangStdenv
rust-analyzer
cargo-expand
clippy
])