Add rust hook in doomemacs; Remove C-c deletion in latex mode
This commit is contained in:
parent
6bc5404df6
commit
625a333a25
|
@ -450,8 +450,8 @@ introduced.
|
||||||
(add-hook 'tex-mode-hook #'custom/common-program-hook)
|
(add-hook 'tex-mode-hook #'custom/common-program-hook)
|
||||||
(add-hook 'LaTeX-mode-hook #'custom/common-program-hook)
|
(add-hook 'LaTeX-mode-hook #'custom/common-program-hook)
|
||||||
(setq-default TeX-electric-sub-and-superscript nil)
|
(setq-default TeX-electric-sub-and-superscript nil)
|
||||||
(local-unset-key "C-c C-l")
|
;(local-unset-key "C-c C-l")
|
||||||
(local-unset-key "C-c `")
|
;(local-unset-key "C-c `")
|
||||||
)
|
)
|
||||||
(map! :after latex
|
(map! :after latex
|
||||||
:localleader
|
:localleader
|
||||||
|
@ -562,6 +562,13 @@ Add the necessary hooks for LilyPond mode.
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Rust
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! rustic
|
||||||
|
(setq rustic-indent-offset standard-indent))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Tools
|
** Tools
|
||||||
|
|
||||||
*** Language Server Protocol (LSP)
|
*** Language Server Protocol (LSP)
|
||||||
|
|
|
@ -164,7 +164,7 @@
|
||||||
;;rest ; Emacs as a REST client
|
;;rest ; Emacs as a REST client
|
||||||
;;rst ; ReST in peace
|
;;rst ; ReST in peace
|
||||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
;;(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
|
;;scala ; java, but good
|
||||||
;;(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
|
|
Loading…
Reference in New Issue