diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-11-06 13:47:44 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-11-06 13:47:44 -0600 |
| commit | c6ac7bb5e0084c4ad0d60ffec6d94ea51bd8eb39 (patch) | |
| tree | d66215569ac0ac2eacd63b32923d503ad861e6a8 /emacs/dotemacs | |
| parent | ac0244a220ba80678fbb3460b4ec2364aa4b5d84 (diff) | |
hello again rust
Diffstat (limited to 'emacs/dotemacs')
| -rw-r--r-- | emacs/dotemacs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/emacs/dotemacs b/emacs/dotemacs index 8014c78..ddcf325 100644 --- a/emacs/dotemacs +++ b/emacs/dotemacs @@ -41,7 +41,6 @@ '( color-theme-modern company company-go - d-mode dockerfile-mode fish-completion fish-mode @@ -58,6 +57,7 @@ markdown-mode perl-doc pinentry + rustic sublime-themes toml-mode yaml-mode @@ -194,8 +194,11 @@ (add-hook 'markdown-mode-hook #'auto-fill-mode) (add-hook 'text-mode-hook #'auto-fill-mode) -;;; d -(add-hook 'd-mode-hook #'electric-pair-mode) +;;; rust +(setq rustic-format-on-save t) +(add-hook 'rustic-mode-hook #'yas-minor-mode-on) +(global-set-key (kbd "<f7>") 'rustic-cargo-current-test) +(global-set-key (kbd "<f8>") 'rustic-cargo-build) ;; ------------------------------------------------------------- ;; time-related funcs |
