|
|
@ -27,3 +27,9 @@
|
|
|
|
(add-hook 'before-save-hook 'rust-before-save-method nil t)
|
|
|
|
(add-hook 'before-save-hook 'rust-before-save-method nil t)
|
|
|
|
(add-hook 'after-save-hook 'rust-after-save-method nil t)
|
|
|
|
(add-hook 'after-save-hook 'rust-after-save-method nil t)
|
|
|
|
(use-local-map (make-composed-keymap (list rust-ts-mode-map rust-mode-map)))))))
|
|
|
|
(use-local-map (make-composed-keymap (list rust-ts-mode-map rust-mode-map)))))))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(use-package c-ts-mode
|
|
|
|
|
|
|
|
:requires treesit
|
|
|
|
|
|
|
|
:custom
|
|
|
|
|
|
|
|
(c-ts-mode-indent-style 'linux)
|
|
|
|
|
|
|
|
(c-ts-mode-indent-offset 2))
|
|
|
|