diff options
author | Loïc Lemaître <loic.lemaitre@gmail.com> | 2024-02-11 05:00:38 +0200 |
---|---|---|
committer | Dmitry Gutov <dmitry@gutov.dev> | 2024-02-11 05:00:38 +0200 |
commit | 9f9da26e0dcb242327af7cd8414fad7afedbbaa9 (patch) | |
tree | 36fdf7c8e48f1ed05ea32bc558d27478415389bf /lisp/emacs-lisp/helper.el | |
parent | 717d8c4285fa6eecc0bbec9b5910f028f02aab59 (diff) | |
download | emacs-9f9da26e0dcb242327af7cd8414fad7afedbbaa9.tar.gz emacs-9f9da26e0dcb242327af7cd8414fad7afedbbaa9.tar.bz2 emacs-9f9da26e0dcb242327af7cd8414fad7afedbbaa9.zip |
Handle typescript ts grammar breaking change for function_expression
Starting from version 0.20.4 of the typescript/tsx grammar, "function"
becomes "function_expression". The right expression is used depending
on the grammar version.
* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--font-lock-compatibility-function-expression):
New function (bug#69024).
(typescript-ts-mode--font-lock-settings): Use it.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/helper.el')
0 files changed, 0 insertions, 0 deletions