blob: 540ffcd82e983d2dc178f992a2f218abaac69f0d (
plain) (
blame)
1
2
3
4
5
6
7
8
|
;;; ../code/depot/users/glittershark/emacs.d/rust.el -*- lexical-binding: t; -*-
(defun grfn/rust-setup ()
(setq lsp-rust-server 'rust-analyzer)
(rust-enable-format-on-save)
(lsp))
(add-hook 'rust-mode-hook #'grfn/rust-setup)
|