Compare commits

...

3 commits

Author SHA1 Message Date
finga f0c4e8a77b dev: Run rust-fmt when saving a rust file
When saving a rust file, run rust-fmt.
2023-09-13 16:10:09 +02:00
finga bf13b8a3a8 base: Remove setting regarding final newlines
As this is not used, remove it.
2023-09-13 16:09:16 +02:00
finga 283f44e1a4 matrix: Add matrix config
Use ement.el together with Pantalaimon.
2023-09-13 16:07:20 +02:00
5 changed files with 7 additions and 2 deletions

View file

@ -68,7 +68,6 @@
;; add newlines at eof
(setq require-final-newline t)
;; (setq mode-require-final-newline t)
;; enable number-modes
(setq line-number-mode t)

View file

@ -31,6 +31,9 @@
;; start cargo
(add-hook 'rust-mode-hook 'cargo-minor-mode)
;; format code when saving
(setq rust-format-on-save t)
;; yaml
(use-package yaml-mode :ensure t)
(use-package flycheck-yamllint :ensure t)

View file

@ -0,0 +1,2 @@
(use-package ement :ensure t
:uri-prefix "http://localhost:8009")

View file

@ -57,7 +57,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
:group 'config-snippets
:type '(repeat directory))
(setq config-snippets '(base backups calendar dev functions gpg org pass wl))
(setq config-snippets '(base backups calendar dev functions gpg matrix org pass wl))
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path)
(dolist (snippet config-snippets)

View file

@ -5,6 +5,7 @@
!/.emacs.d/config/dev.el
!/.emacs.d/config/functions.el
!/.emacs.d/config/gpg.el
!/.emacs.d/config/matrix.el
!/.emacs.d/config/org.el
!/.emacs.d/config/pass.el
!/.emacs.d/config/tramp.el