diff options
author | Yuan Fu <casouri@gmail.com> | 2023-04-02 15:09:41 -0700 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-04-02 15:10:38 -0700 |
commit | 5a1c9aace70b1f26b6cce38dbd79270c854bc080 (patch) | |
tree | 448fa0da18bdbdb8302fcb76cb2c3a8043fcd8b2 | |
parent | 86cf9fd932c654cc502bedf634458a918ee5e9cb (diff) | |
download | emacs-5a1c9aace70b1f26b6cce38dbd79270c854bc080.tar.gz |
; Add a bit more docstring to tsx-ts-mode (bug#62429)
* lisp/progmodes/typescript-ts-mode.el:
(tsx-ts-mode): Explain a bit more.
-rw-r--r-- | lisp/progmodes/typescript-ts-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 23815c79906..11f20add3ee 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -396,7 +396,10 @@ Argument LANGUAGE is either `typescript' or `tsx'." This major mode defines two additional JSX-specific faces: `typescript-ts-jsx-attribute-face' and `typescript-ts-jsx-attribute-face' that are used for HTML tags -and attributes, respectively." +and attributes, respectively. + +The JSX-specific faces are used when `treesit-font-lock-level' is +at least 3 (which is the default value)." :group 'typescript :syntax-table typescript-ts-mode--syntax-table |