Fix indentation of if/else in 'csharp-ts-mode' (bug#70345)
authorJacob Leeming <jacobtophatleeming@gmail.com>
Mon, 22 Apr 2024 08:49:15 +0000 (09:49 +0100)
committerEli Zaretskii <eliz@gnu.org>
Thu, 25 Apr 2024 15:53:06 +0000 (18:53 +0300)
commit494dfd9cf2becdb33eefb1c0e6d8bc383cb8a2f0
tree0578fdebcf153c7c72b121ddaf44fedbba8698d0
parent1cc6322e61275ad8b5056eb7dd43af6fe459aa0b
Fix indentation of if/else in 'csharp-ts-mode' (bug#70345)

* lisp/progmodes/csharp-mode.el (csharp-ts-mode--indent-rules):
Fix indentation rules for 'if' and 'else'.

* test/lisp/progmodes/csharp-ts-mode-tests.el:
* test/lisp/progmodes/csharp-ts-mode-resources/indent.erts: New
test files.

Copyright-paperwork-exempt: yes
lisp/progmodes/csharp-mode.el
test/lisp/progmodes/csharp-ts-mode-resources/indent.erts [new file with mode: 0644]
test/lisp/progmodes/csharp-ts-mode-tests.el [new file with mode: 0644]