~"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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user