[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71771: 31.0.50; [PATCH] php-ts-mode: jsdoc support in javascript
From: |
Vincenzo Pupillo |
Subject: |
bug#71771: 31.0.50; [PATCH] php-ts-mode: jsdoc support in javascript |
Date: |
Thu, 27 Jun 2024 21:44:59 +0200 |
In data giovedì 27 giugno 2024 12:29:40 CEST, Vincenzo Pupillo ha scritto:
> In data giovedì 27 giugno 2024 11:45:54 CEST, Eli Zaretskii ha scritto:
> > > From: Vincenzo Pupillo <v.pupillo@gmail.com>
> > > Date: Tue, 25 Jun 2024 11:52:20 +0200
> > >
> > > this patch add support for embedding jsdoc into inline javascript
> > > element.
> >
> > Thanks, but is this for the master branch or for the emacs-30 release
> > branch? Where was php-ts-mode broken?
>
> Hi Eli,
> this is for the master branch.
> jsdoc is not available in emacs-30.
> Thanks.
> V.
php-ts-mode was broken because the js--treesit-font-lock-settings variable now
contains rules for jsdoc, a parser that php-ts-mode did not use.
I fixed the patch because, as I wrote for bug 71776, the jsdoc parser is
local, just like the phpdoc parser.
The screenshot I attach is the result of this patch and the two from bug
71776.
Thanks.
Vincenzo
0001-Add-jsdoc-support-to-php-ts-mode-in-script-element.patch
Description: Text Data
php_with_jsdoc_20240627_152341.png
Description: PNG image