[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 0481983 264/459: Fix indentation behaviour
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 0481983 264/459: Fix indentation behaviour of preprocessor statements. |
Date: |
Sun, 22 Aug 2021 13:59:41 -0400 (EDT) |
branch: externals/csharp-mode
commit 0481983b3435df94d0e98f23a298941a5d693feb
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Fix indentation behaviour of preprocessor statements.
Unit-tests.
This fixes #139.
---
csharp-mode.el | 2 +-
test-files/indentation-tests.cs | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 06b62d8..e61b11e 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -2934,7 +2934,7 @@ Otherwise run `c-inside-bracelist-p'."
(class-close . 0)
(class-open . 0)
(comment-intro . c-lineup-comment)
- (cpp-macro . 0)
+ (cpp-macro . [0])
(cpp-macro-cont .
c-lineup-dont-change)
(defun-block-intro . +)
(defun-close . 0)
diff --git a/test-files/indentation-tests.cs b/test-files/indentation-tests.cs
index 199f936..11ac6db 100644
--- a/test-files/indentation-tests.cs
+++ b/test-files/indentation-tests.cs
@@ -188,3 +188,10 @@ namespace Boo
}
}
}
+
+public class NestedPreProcessor
+{
+#if DEBUG
+ public static bool Debug = true;
+#endif
+}
- [elpa] externals/csharp-mode 7a41dad 318/459: Add attributes to indentation-tests, (continued)
- [elpa] externals/csharp-mode 7a41dad 318/459: Add attributes to indentation-tests, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f46d656 321/459: Fix indentation in one defconst, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 49d8392 323/459: Add nullable operator to concatenated identifiers, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2ee53e4 234/459: Fix some easy checkdoc errors., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 309e2c8 238/459: Create failing test-case., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode cef0d90 243/459: Don't override user's customizations., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode af61254 244/459: Fix off-by-one error for region directive comments, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4b3d6f8 247/459: More region comment fixes., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b20e65f 249/459: communicate default style safely (#118), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 29dab33 255/459: Silence warning in compatibility-shim., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0481983 264/459: Fix indentation behaviour of preprocessor statements.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 4babfff 265/459: Merge branch 'preproc-indentation', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8100976 267/459: Fix fontification of unsafe methods., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 68a8a69 270/459: Fixed enum indentation level., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0825112 276/459: Fix CI-error on Emacs 25.x, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d537cfa 271/459: Add test-case for Enum-indentation., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 981ff38 275/459: Make it easier to reproduce CI errors locally., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 274dd88 273/459: Update CI-settings, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e7e96e3 272/459: Fixed callback indentation level. (#145), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 85d36e1 280/459: Fix lambda indentation #105, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4885177 286/459: Merge pull request #161 from ryuslash/fix-package-fontification, ELPA Syncer, 2021/08/22