diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2023-06-13 13:53:31 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2023-07-30 17:39:34 +0200 |
commit | ba60070b81c4b507b856269031a17b99e9f5e77c (patch) | |
tree | 54e95a6dc696b437fdc0bda74a0101677f9e231c /lisp/emacs-lisp | |
parent | 092a2ecb083d9f3e301c5b9bf23e0f2f666fec27 (diff) | |
download | emacs-ba60070b81c4b507b856269031a17b99e9f5e77c.tar.gz emacs-ba60070b81c4b507b856269031a17b99e9f5e77c.tar.bz2 emacs-ba60070b81c4b507b856269031a17b99e9f5e77c.zip |
Backport: Fix some tree-sitter :match regexps
This was originally installed on 2023-06-17 in the emacs-29 release
branch and later reverted. This backport follows the Emacs 29.1
release (bug#64019).
The shy groups were caught by modified versions of the GNU ELPA
packages xr and relint:
- https://github.com/mattiase/xr/pull/6
- https://github.com/mattiase/relint/pull/14
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--s-p-query): Quote special
character in regexp.
* lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings):
* lisp/progmodes/js.el (js--plain-method-re):
(js--treesit-font-lock-settings):
* lisp/progmodes/rust-ts-mode.el (rust-ts-mode--font-lock-settings):
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--font-lock-settings): Replace character
alternative [\\d], which matches '\' or 'd', with the most likely
intention [0-9]. Fix shy groups mistyped as optional colons.
Remove unneeded numbered :match group in rust-ts-mode.
(cherry picked from commit cd8d3f3379ec7179fac4bb8e9c40658be15a64f6)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions