~allman -> custom c-style

This c-style doesn't fully conform to allman, using parts of Linux,
thus let's just call it custom.
This commit is contained in:
AChavali
2020-02-08 13:16:11 +00:00
parent ea129457a0
commit 5caacfa222

View File

@@ -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. Emacs doesn't have the full range of styles that I want, so lemme just do it myself.
#+BEGIN_SRC elisp #+BEGIN_SRC elisp
(after! cc-mode (after! cc-mode
(c-add-style "Allman" (c-add-style "Custom"
'((c-basic-offset . 2) '((c-basic-offset . 2)
(c-comment-only-line-offset . 0) (c-comment-only-line-offset . 0)
(c-hanging-braces-alist (brace-list-open) (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 . +) (statement-cont . +)
(label . 0))))) (label . 0)))))
#+END_SRC #+END_SRC
Emacs doesn't have the full range of styles that I want, so lemme just do it myself.
** CSharp ** CSharp
- I have custom installed the omnisharp roslyn executable, so I'd rather use - I have custom installed the omnisharp roslyn executable, so I'd rather use
that that