diff options
| author | tslil clingman <tslil@posteo.de> | 2024-01-07 15:18:58 +0100 |
|---|---|---|
| committer | tslil clingman <tslil@posteo.de> | 2024-01-07 15:18:58 +0100 |
| commit | 0d06e17c67ad417b4ff265c6b8e00383e87e6a60 (patch) | |
| tree | d5a188e2c3fb9cfee166ba2e66edb826d35edd42 /emacs | |
| parent | 83e310185606c8f699689737ea307eea274efd42 (diff) | |
[emacs] fix rust-ts-mode-map (?)
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/inits/20-programming.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el index 6664597..c146f74 100644 --- a/emacs/inits/20-programming.el +++ b/emacs/inits/20-programming.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2024-01-07 12h56 CET (anker)> +;; Time-stamp: <2024-01-07 15h17 CET (anker)> ;; ----------------------------------------------------------------------------- ;; General setup @@ -239,6 +239,7 @@ ("C-c r c" . rust-compile) ("C-c r r" . rust-run)) :hook (rust-mode . (lambda () + (require 'rust-mode) (cargo-minor-mode) ;; Pair {} in rust format strings ... ? (setq-local electric-pair-text-pairs @@ -350,4 +351,5 @@ :config (global-treesit-auto-mode) (setq treesit-auto-install t) - (setq rust-ts-mode-hook rust-mode-hook)) + (setq rust-ts-mode-hook rust-mode-hook + rust-ts-mode-map (make-composed-keymap rust-ts-mode-map rust-mode-map))) |
