emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode 8fdeedf 397/459: Indentation tweaking


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 8fdeedf 397/459: Indentation tweaking
Date: Sun, 22 Aug 2021 14:00:09 -0400 (EDT)

branch: externals/csharp-mode
commit 8fdeedf923137a165bcc1ac82d97f0f4dad49ecf
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>

    Indentation tweaking
---
 csharp-mode-indent.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/csharp-mode-indent.el b/csharp-mode-indent.el
index 0661032..f9a81a4 100644
--- a/csharp-mode-indent.el
+++ b/csharp-mode-indent.el
@@ -37,11 +37,13 @@
   '((indent-all . ;; these nodes are always indented
                 (accessor_declaration
                  break_statement
-                 conditional_expression
                  arrow_expression_clause
+                 parameter_list
+                 conditional_expression
                  "."))
     (indent-rest . ;; if parent node is one of these and node is not first → 
indent
                  (
+                  binary_expression
                   switch_section
                   ))
     (indent-body . ;; if parent node is one of these and current node is in 
middle → indent
@@ -52,7 +54,6 @@
                   expression_statement
                   declaration_list
                   attribute_argument_list
-                  parameter_list
                   switch_body))
 
     (paren-indent . ;; if parent node is one of these → indent to paren opener



reply via email to

[Prev in Thread] Current Thread [Next in Thread]