aboutsummaryrefslogtreecommitdiff
path: root/Doom
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-11 19:10:13 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-11 19:10:13 +0100
commit034224fd93b9ee51c1c34accfb5f2b811151cc49 (patch)
treea791cde159530de341088ed0da631911624a0e4d /Doom
parent72d9102a306350b05f7f0fa18e4185250b29ba60 (diff)
downloaddotfiles-034224fd93b9ee51c1c34accfb5f2b811151cc49.tar.gz
dotfiles-034224fd93b9ee51c1c34accfb5f2b811151cc49.tar.bz2
dotfiles-034224fd93b9ee51c1c34accfb5f2b811151cc49.zip
+hook to set c-style to user on cc-mode-hook
Diffstat (limited to 'Doom')
-rw-r--r--Doom/.doom.d/org/config.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org
index 5596b12..0e2ede4 100644
--- a/Doom/.doom.d/org/config.org
+++ b/Doom/.doom.d/org/config.org
@@ -226,7 +226,8 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys
(substatement-label . 0)
(access-label . 0)
(label . 0)
- (statement-cont . +)))))
+ (statement-cont . +))))
+ (add-hook 'cc-mode-hook #'(lambda () (interactive) (c-set-style "user"))))
#+END_SRC
** LSP
Add lsp-ui-doc-mode to lsp-ui-mode: allows you to see documentation in a little