diff options
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 5d62ac2..cd788ce 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1049,7 +1049,7 @@ Colourising the compilation buffer so ANSI colour codes get computed. "C" #'recompile) (nmmap :keymaps 'compilation-mode-map - "g" #'recompile) + "c" #'recompile) :display ("\\*compilation\\*" (display-buffer-reuse-window display-buffer-at-bottom) @@ -1798,10 +1798,15 @@ execution of d-mode blocks and alias ~D-mode~ with ~d-mode~. :straight t :general (code-leader - :keymaps 'rust-mode-hook + :keymaps 'rust-mode-map "f" #'rust-format-buffer) + (local-leader + :keymaps 'rust-mode-map + "c" #'rust-run-clippy) :init - (setq rust-format-on-save t)) + (setq rust-format-on-save t) + (with-eval-after-load "eglot" + (add-to-list 'eglot-server-programs '(rust-mode "rust-analyzer")))) #+end_src ** Racket A scheme with lots of stuff inside it. Using it for a language design |