]> git.eshelyaron.com Git - emacs.git/commit
Fix indent for enums in csharp-mode
authorTheodor Thornhill <theo@thornhill.no>
Sat, 6 May 2023 19:13:15 +0000 (21:13 +0200)
committerTheodor Thornhill <theo@thornhill.no>
Sat, 6 May 2023 19:15:21 +0000 (21:15 +0200)
commite205f68717e960a929e5657e8351ba6ef0e5f480
tree3e061d61f3aa9a1d05eb63a3a7e5f8cdf3ea24ff
parentdfde902f3b9c7eea7e58e09c4d52c1346ef52ee4
Fix indent for enums in csharp-mode

* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Check for
keywords containing 'enum' on the line before an opening bracket, and
make it behave like a class-open token.
lisp/progmodes/csharp-mode.el