From f603e89e2e70c700d79cf74b760fe6d263045dfd Mon Sep 17 00:00:00 2001 From: oreodave Date: Fri, 25 Oct 2019 22:06:08 +0100 Subject: ~"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 --- doom.d/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doom.d') 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 -- cgit v1.2.3-13-gbd6f