diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-11 19:10:13 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-11 19:10:13 +0100 |
commit | 034224fd93b9ee51c1c34accfb5f2b811151cc49 (patch) | |
tree | a791cde159530de341088ed0da631911624a0e4d /Doom/.doom.d/org/config.org | |
parent | 72d9102a306350b05f7f0fa18e4185250b29ba60 (diff) | |
download | dotfiles-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/.doom.d/org/config.org')
-rw-r--r-- | Doom/.doom.d/org/config.org | 3 |
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 |