]> git.eshelyaron.com Git - emacs.git/commit
Improve php-ts-mode font lock and support latest grammar (bug#72796)
authorVincenzo Pupillo <v.pupillo@gmail.com>
Sat, 24 Aug 2024 21:16:09 +0000 (23:16 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:38 +0000 (09:51 +0200)
commit7bba82050c97daa86431ab557377c0be7b92e7d0
treedd8c4ec2fa35148f745e880969cd1d4564f9dc84
parente402d7de7d2023d134ba6da145cf367242bb25cd
Improve php-ts-mode font lock and support latest grammar (bug#72796)

* lisp/progmodes/php-ts-mode.el:
(php-ts-mode--language-source-alist): Update the parser version.
(php-ts-mode--parent-html-heuristic): Fix commentary.
(php-ts-mode--keywords): Add "exit" keyword.
(php-ts-mode--predefined-constant): Added math constant.
(php-ts-mode--font-lock-settings): New and improved rules.

(cherry picked from commit 31293155879f5b44fc89fda2f22b41e3e5892430)
lisp/progmodes/php-ts-mode.el