[oni-csharp] Change indentation for argument list continuations
Previously: public void Foo(TypeA arg1, TypeB arg2) { Now: public void Foo(TypeA arg1, TypeB arg2) {
This commit is contained in:
parent
6ec18c21df
commit
8a67063ae4
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2021.1201.133936
|
||||
;; Version: 2022.0105.161232
|
||||
;; Package-Requires: (csharp-mode oni-company oni-flycheck oni-yasnippet oni-hydra oni-lsp oni-smartparens)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -139,7 +139,8 @@ _cs_: Solution
|
|||
|
||||
(defun oni-csharp--update-style ()
|
||||
"Set style rules according to personal (or recommended) preference."
|
||||
(setf (alist-get 'arglist-intro c-offsets-alist) '+))
|
||||
(c-set-offset 'arglist-intro '+)
|
||||
(c-set-offset 'arglist-cont-nonempty '+))
|
||||
|
||||
(add-hook 'csharp-mode-hook 'abbrev-mode)
|
||||
(add-hook 'csharp-mode-hook 'company-mode)
|
||||
|
|
Loading…
Reference in a new issue