diff --git a/config.org b/config.org index 9ca42ef..5bae712 100644 --- a/config.org +++ b/config.org @@ -674,15 +674,7 @@ #+end_src ** C - For C there is =clangd= implementing LSP. Assuming that's - installed and on the =PATH=, we can just hook =lsp-mode= into the - default mode and there will be much rejoicing. - - #+begin_src emacs-lisp - (add-hook 'c-mode-hook #'lsp-deferred) - #+end_src - - As for indenting style, I like BSD-style but with 4-char-wide indents + For indenting style, I like BSD-style but with 4-char-wide indents #+begin_src emacs-lisp (add-hook 'c-mode-hook (lambda () @@ -699,8 +691,7 @@ There's a lot of boilerplate in C, so I want YASnippet enabled. #+begin_src emacs-lisp - (add-hook 'c-mode-hook (lambda () - (yas-minor-mode))) + (add-hook 'c-mode-hook (lambda () (yas-minor-mode))) #+end_src ** C++