aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-10-25 22:06:08 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-10-25 22:06:08 +0100
commitf603e89e2e70c700d79cf74b760fe6d263045dfd (patch)
tree25764eb5ca516a03d561c7bbf5fa0e5397927b04 /doom.d
parentaf4b686adcc542689794b43c1b61d8f0910017cb (diff)
downloaddotfiles-f603e89e2e70c700d79cf74b760fe6d263045dfd.tar.gz
dotfiles-f603e89e2e70c700d79cf74b760fe6d263045dfd.tar.bz2
dotfiles-f603e89e2e70c700d79cf74b760fe6d263045dfd.zip
~"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
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/config.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index 2f2b755..00c3e61 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -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