]> git.eshelyaron.com Git - emacs.git/commit
Support for indentation of PHP alternative syntax control structures
authorVincenzo Pupillo <v.pupillo@gmail.com>
Fri, 21 Jun 2024 21:24:33 +0000 (23:24 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 22 Jun 2024 15:39:52 +0000 (17:39 +0200)
commit1350deb2ec20f7697f22cc39bd5262b76de989f6
treef7109b695557c22b24daf09fd14d9f31068f951b
parentfbae232764c85b4b0ec6ac4879b197b41a8b9105
Support for indentation of PHP alternative syntax control structures

For some control structures, PHP provides an alternative syntax.
A new rule has been added to handle this syntax.
* lisp/progmodes/php-ts-mode.el (php-ts-mode--indent-styles):
New rule for PHP alternative syntax.  (Bug#71710)

(cherry picked from commit 155cc89de0266e28b68fdecfdc2a0a40b9d79001)
lisp/progmodes/php-ts-mode.el