Improve font-locking and indentation in 'php-ts-mode'
authorVincenzo Pupillo <v.pupillo@gmail.com>
Thu, 7 Nov 2024 11:55:50 +0000 (12:55 +0100)
committerEli Zaretskii <eliz@gnu.org>
Thu, 14 Nov 2024 08:47:51 +0000 (10:47 +0200)
commitf69f54c454eb3c0f8ff8c55cfd2b7832ea1709cf
tree67b3e795b8b7cb51bb13146488a0307bd6058c11
parent27aacbd172f3b94926073250ef81a226616d1e45
Improve font-locking and indentation in 'php-ts-mode'

* lisp/progmodes/php-ts-mode.el (php-ts-mode--language-source-alist):
Updated to latest version of PHP grammar.
(php-ts-mode--indent-styles): 'namespace_use_declaration' is now
correctly indented.
(php-ts-mode--operators): Support of the "argument unpacking
operator".
(php-ts-mode--font-lock-settings): 'nullsafe_member_call_expression'
is now highlighted correctly.
(php-ts-mode--comment-indent-new-line): Delete trailing whitespace
before inserting newline (see bug#73900 for more information).
Bug#74239
lisp/progmodes/php-ts-mode.el