Add rust hook in doomemacs; Remove C-c deletion in latex mode

This commit is contained in:
Leni Aniva 2023-07-06 20:20:13 -07:00
parent 6bc5404df6
commit 625a333a25
2 changed files with 10 additions and 3 deletions

View File

@ -450,8 +450,8 @@ introduced.
(add-hook 'tex-mode-hook #'custom/common-program-hook)
(add-hook 'LaTeX-mode-hook #'custom/common-program-hook)
(setq-default TeX-electric-sub-and-superscript nil)
(local-unset-key "C-c C-l")
(local-unset-key "C-c `")
;(local-unset-key "C-c C-l")
;(local-unset-key "C-c `")
)
(map! :after latex
:localleader
@ -562,6 +562,13 @@ Add the necessary hooks for LilyPond mode.
)
#+end_src
*** Rust
#+begin_src emacs-lisp
(after! rustic
(setq rustic-indent-offset standard-indent))
#+end_src
** Tools
*** Language Server Protocol (LSP)

View File

@ -164,7 +164,7 @@
;;rest ; Emacs as a REST client
;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
(rust +lsp +tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
;;(scheme +guile) ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor