branch: externals/csharp-mode
commit ea1718eb2633b708fea2f567f450cc634c5932b6
Author: Theodor Thornhill <t...@thornhill.no>
Commit: Theodor Thornhill <t...@thornhill.no>

    Use defvar instead of defcustom for indentation rules
---
 csharp-tree-sitter.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/csharp-tree-sitter.el b/csharp-tree-sitter.el
index 88db003..f50a2f3 100644
--- a/csharp-tree-sitter.el
+++ b/csharp-tree-sitter.el
@@ -215,7 +215,7 @@
   :type 'integer
   :group 'csharp)
 
-(defcustom csharp-mode-indent-scopes
+(defvar csharp-mode-indent-scopes
   '((indent-all . ;; these nodes are always indented
                 (accessor_declaration
                  break_statement
@@ -256,8 +256,7 @@
               case_switch_label
               ))
     )
-  "Scopes for indenting in C#."
-  :type 'sexp)
+  "Scopes for indenting in C#.")
 
 ;;;; Private functions
 (defun csharp-mode-indent--node-is-indent-all (node)

Reply via email to