From 8a67063ae42e0d0e353a411d34a3a009032b4e5c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 5 Jan 2022 16:12:51 -0800 Subject: [PATCH] [oni-csharp] Change indentation for argument list continuations Previously: public void Foo(TypeA arg1, TypeB arg2) { Now: public void Foo(TypeA arg1, TypeB arg2) { --- oni-csharp/oni-csharp.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-csharp/oni-csharp.el b/oni-csharp/oni-csharp.el index a2a2502..3e69208 100644 --- a/oni-csharp/oni-csharp.el +++ b/oni-csharp/oni-csharp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; 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)