~"c-mode c++-mode" -> cc-mode for c hook

Finally found why my C config wasn't working correctly: wasn't
targeting the right package in after
This commit is contained in:
oreodave
2019-10-25 22:06:08 +01:00
parent af4b686adc
commit f603e89e2e

View File

@@ -132,8 +132,8 @@ My docsets are stored in .docsets for ease of use
#+END_SRC
** Languages
*** C-style
(after! c-mode c++-mode
#+BEGIN_SRC elisp
(after! cc-mode
(add-hook! 'c-mode-hook '(lambda ()
(setq c-basic-offset 2))))
#+END_SRC