diff options
| author | Theodor Thornhill | 2022-10-28 21:23:19 +0200 |
|---|---|---|
| committer | Yuan Fu | 2022-10-28 16:46:10 -0700 |
| commit | 285f8c7cfecee0c91568cd850139c48ec3f21a28 (patch) | |
| tree | 97f68913db9e92f38d5680c2189b435a4e676f3f /lisp/progmodes/python.el | |
| parent | 25cb49ad565c764c390a411661088970db1f2b22 (diff) | |
| download | emacs-285f8c7cfecee0c91568cd850139c48ec3f21a28.tar.gz emacs-285f8c7cfecee0c91568cd850139c48ec3f21a28.zip | |
Add in new font lock features in js/ts-mode
We want to support font lock features on the syntactic level, not only
the decoration-level level.
New supported features are:
- comment
- constant
- keyword
- string
- declaration
- identifier
- expression
- property
- pattern
- jsx
* lisp/progmodes/js.el (js--treesit-font-lock-settings, js-mode): Add
in the new features.
* lisp/progmodes/ts-mode.el (ts-mode--indent-rules): Remove faulty '.'
anchor.
(ts-mode--font-lock-settings, ts-mode): Add in the new features.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions