diff options
author | Yuan Fu <casouri@gmail.com> | 2022-12-28 16:52:47 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-12-28 17:32:47 -0800 |
commit | e78e69b33189c653d1588b810283969ac3cca137 (patch) | |
tree | f857e8c1e931c2101befe508aa3fba632919fabb /test/lisp/whitespace-tests.el | |
parent | 0a61e4e2b7189679df8ab3617e174b8b36afcf80 (diff) | |
download | emacs-e78e69b33189c653d1588b810283969ac3cca137.tar.gz emacs-e78e69b33189c653d1588b810283969ac3cca137.tar.bz2 emacs-e78e69b33189c653d1588b810283969ac3cca137.zip |
Clean up font-lock rules in js-ts-mode
Changes for each feature:
- string: Take out string-interpolation bits.
- string-interpolation: New.
- declaration: Rename to definition.
- identifier: Remove.
- property: Use a pred to filter out methods.
- expression: Rename to assignment.
- function: New.
- pattern: Merge into assignment.
* lisp/progmodes/js.el (js--treesit-font-lock-settings): See above.
(js--treesit-property-not-function-p)
(js--treesit-lhs-identifier-query): New variable.
(js--treesit-fontify-assignment-lhs): New functions.
(js-ts-mode): Update feature list.
Diffstat (limited to 'test/lisp/whitespace-tests.el')
0 files changed, 0 insertions, 0 deletions