]> git.eshelyaron.com Git - emacs.git/commit
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)
committerEshel Yaron <me@eshelyaron.com>
Mon, 29 Apr 2024 15:02:06 +0000 (17:02 +0200)
commit81c30c9b92dbcf92bdf7a40576733428e8c0713e
tree0beac32d0fe0098ff8bbccd12af1cfa843f52129
parentb010fc026d5ff84815f00440162e343c4db8851e
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
(cherry picked from commit 494dfd9cf2becdb33eefb1c0e6d8bc383cb8a2f0)
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]