From 5caacfa22279b0192daba0264bcd676f72ff3152 Mon Sep 17 00:00:00 2001 From: AChavali Date: Sat, 8 Feb 2020 13:16:11 +0000 Subject: ~allman -> custom c-style This c-style doesn't fully conform to allman, using parts of Linux, thus let's just call it custom. --- doom.d/modules/config.org | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doom.d') diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org index 62c758e..6e33bb8 100644 --- a/doom.d/modules/config.org +++ b/doom.d/modules/config.org @@ -158,7 +158,7 @@ Set-up config for ivy-posframe, particularly for positions Emacs doesn't have the full range of styles that I want, so lemme just do it myself. #+BEGIN_SRC elisp (after! cc-mode - (c-add-style "Allman" + (c-add-style "Custom" '((c-basic-offset . 2) (c-comment-only-line-offset . 0) (c-hanging-braces-alist (brace-list-open) @@ -191,7 +191,6 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys (statement-cont . +) (label . 0))))) #+END_SRC -Emacs doesn't have the full range of styles that I want, so lemme just do it myself. ** CSharp - I have custom installed the omnisharp roslyn executable, so I'd rather use that -- cgit v1.2.3-13-gbd6f