summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-12-20 13:03:30 +0200
committerLars Wirzenius <liw@liw.fi>2022-12-20 13:03:30 +0200
commitdffdd606897e06a5a940a8a7cb1b6009e44cde61 (patch)
tree5a6f1d66be010509de6c83016534564c36ef1388
parent5c536913667e08da897aad9c8961461a00b4a9f4 (diff)
downloadliw-dot-files-dffdd606897e06a5a940a8a7cb1b6009e44cde61.tar.gz
emacss: format Rust source files on savbe
Sponsored-by: author
-rw-r--r--emacs.d/init.el4
-rw-r--r--ssh/config-pers4
2 files changed, 6 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 2cce151..e2a48cc 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -96,8 +96,8 @@
;; (setq lsp-enable-symbol-highlighting nil)
;; (setq lsp-signature-auto-activate nil)
- ;; comment to disable rustfmt on save
- (setq rustic-format-on-save nil))
+ ;; en/disable rustfmt on save
+ (setq rustic-format-on-save t))
;; Mode for using the Rust Language Server Protocol for nicer Rust
;; editing.
diff --git a/ssh/config-pers b/ssh/config-pers
index 2a5584b..d783732 100644
--- a/ssh/config-pers
+++ b/ssh/config-pers
@@ -1,5 +1,8 @@
# SSH client configuration for my personal use.
+Host irc.liw.fi
+ IdentityFile ~/.ssh/non-u2f-key/id_personal
+
Host icktool
UserKnownHostsFile /dev/null
StrictHostKeyChecking accept-new
@@ -8,6 +11,7 @@ Host icktool
Host workera
UserKnownHostsFile /dev/null
StrictHostKeyChecking accept-new
+ IdentityFile ~/.ssh/non-u2f-key/id_personal
Host qotom
IdentityFile ~/.ssh/id_personal