Move config files to XDG-compatible path
Move config files to XDG-compatible path: `$HOME/.config/emacs`.
This commit is contained in:
parent
05ad81c631
commit
7df5b0e507
19 changed files with 3 additions and 3 deletions
20
.config/emacs/config/rust.el
Normal file
20
.config/emacs/config/rust.el
Normal file
|
@ -0,0 +1,20 @@
|
|||
(use-package cargo
|
||||
:ensure t
|
||||
:hook
|
||||
;; enable cargo keybindings
|
||||
(rust-mode . cargo-minor-mode))
|
||||
|
||||
(use-package rust-mode
|
||||
:ensure t
|
||||
:config
|
||||
;; format code when saving
|
||||
(setq rust-format-on-save t))
|
||||
|
||||
(use-package lsp-mode
|
||||
:ensure t
|
||||
:hook
|
||||
(rust-mode . lsp-deferred)
|
||||
(toml-mode . lsp-deferred))
|
||||
|
||||
(use-package flycheck-rust :ensure t)
|
||||
(use-package toml-mode :ensure t)
|
Loading…
Add table
Add a link
Reference in a new issue