Update emacs.org
This commit is contained in:
parent
3dafea445d
commit
117ba98579
|
@ -1020,8 +1020,11 @@ make sure to setup authinfo
|
||||||
#+end_src
|
#+end_src
|
||||||
***** C/C++
|
***** C/C++
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-hook 'c-mode-hook 'lsp)
|
(add-hook 'c-mode-hook 'lsp)
|
||||||
(add-hook 'c++-mode-hook 'lsp)
|
(add-hook 'c++-mode-hook 'lsp)
|
||||||
|
(add-hook 'c-mode-hook 'format-all-mode)
|
||||||
|
(add-hook 'c++-mode-hook 'format-all-mode)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
***** CMake
|
***** CMake
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -1134,8 +1137,7 @@ make sure to setup authinfo
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Formatting
|
*** Formatting
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package format-all
|
(use-package format-all)
|
||||||
)
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Better Compile Messages
|
*** Better Compile Messages
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in a new issue