1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00

csharp-mode.el: Fix indentation after preprocessor statements

* lisp/progmodes/csharp-mode.el (csharp-ts-mode--indent-rules):
Add rules for preprocessor statements.  (Bug#80202)
This commit is contained in:
Jostein Kjønigsen 2026-01-15 11:02:40 +01:00 committed by Eli Zaretskii
parent 023bf05816
commit 83f4e48106

View file

@ -719,7 +719,9 @@ compilation and evaluation time conflicts."
((parent-is "using_statement") parent-bol 0)
((parent-is "lambda_expression") parent-bol 0)
((parent-is "try_statement") parent-bol 0)
((parent-is "catch_filter_clause") parent-bol 0))))
((parent-is "catch_filter_clause") parent-bol 0)
((parent-is "preproc_if") parent-bol 0)
((parent-is "preproc_region") parent-bol 0))))
(defvar csharp-ts-mode--keywords
'("using" "namespace" "class" "if" "else" "throw" "new" "for"