summaryrefslogtreecommitdiff
path: root/emacs.d
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-20 12:51:08 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-20 12:51:08 +0300
commit89cc3516211dad09cc75f604d349498a4ca20680 (patch)
treeed1ad44e1e25556cb34979b528e94b26d002ff0d /emacs.d
parentad392a22b55ef278797753b82f10e4cd50a8febb (diff)
downloadliw-dot-files-89cc3516211dad09cc75f604d349498a4ca20680.tar.gz
emacs: use rustic-mode for Rust source code
Sponsored-by: author
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/.lsp-session-v12
-rw-r--r--emacs.d/init.el1
2 files changed, 2 insertions, 1 deletions
diff --git a/emacs.d/.lsp-session-v1 b/emacs.d/.lsp-session-v1
index 4b1b5fd..17a69cc 100644
--- a/emacs.d/.lsp-session-v1
+++ b/emacs.d/.lsp-session-v1
@@ -1 +1 @@
-#s(lsp-session ("/home/liw/pers/vmadm/git") nil #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ())) \ No newline at end of file
+#s(lsp-session ("/home/liw/tmp/toy" "/home/liw/tmp" "/home/liw/pers/subplot/git" "/home/liw/pers/jt/git" "/home/liw/pers/obnam/git" "/home/liw/pers/vmadm/git") nil #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ()) #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ())) \ No newline at end of file
diff --git a/emacs.d/init.el b/emacs.d/init.el
index bfc500c..66d1337 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -59,6 +59,7 @@
;; Major mode for YAML files.
(use-package yaml-mode
:config
+ (add-to-list 'auto-mode-alist '("\\.rs\\'" . rustic-mode))
(add-to-list 'auto-mode-alist '("\\.ick\\'" . yaml-mode))
(add-to-list 'auto-mode-alist '("\\.vmdb\\'" . yaml-mode))
(add-to-list 'auto-mode-alist '("\\.yaml\\'" . yaml-mode))