From 034224fd93b9ee51c1c34accfb5f2b811151cc49 Mon Sep 17 00:00:00 2001 From: dx Date: Mon, 11 May 2020 19:10:13 +0100 Subject: +hook to set c-style to user on cc-mode-hook --- Doom/.doom.d/org/config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-13-gbd6f