diff options
author | Vincenzo Pupillo <v.pupillo@gmail.com> | 2023-07-22 13:38:48 +0200 |
---|---|---|
committer | Theodor Thornhill <theo@thornhill.no> | 2023-07-22 23:18:23 +0200 |
commit | 2215298d90bb04968803e7323af0cc3d819ae301 (patch) | |
tree | e5c8f62deeeeb4998e07016be3fe8ce3af4bcba1 /lisp/emacs-lisp/timer.el | |
parent | 235561a2ccc03f50652cd942ab7906fe6178ef83 (diff) | |
download | emacs-2215298d90bb04968803e7323af0cc3d819ae301.tar.gz emacs-2215298d90bb04968803e7323af0cc3d819ae301.tar.bz2 emacs-2215298d90bb04968803e7323af0cc3d819ae301.zip |
Update JSX support due to upstream changes (bug#64647)
A recent change in tree-sitter-javascript grammar support for
JSX (commit bb1f97b), changed two things:
1. renamed nested_identifier to member_expression
2. removed jsx_fragment, jsx_text is used instead
* lisp/progmodes/js.el (js-jsx--treesit-indent-compatibility-bb1f97b):
Indent helper function to handle different tree-sitter-javascript
version.
* lisp/progmodes/js.el (js--treesit-indent-rules): Use the new
function to handle both jsx_fragment and jsx_text.
* lisp/progmodes/js.el (js-jsx--treesit-font-lock-compatibility-bb1f97b):
Font lock helper function for handle different tree-sitter-javascript
version.
* lisp/progmodes/js.el (js--treesit-font-lock-settings): Use the new
function to handle both nested_identifier and member_expression.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions