From: Yuan Fu Date: Sun, 2 Apr 2023 22:09:41 +0000 (-0700) Subject: ; Add a bit more docstring to tsx-ts-mode (bug#62429) X-Git-Tag: emacs-29.0.90~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a1c9aace70b1f26b6cce38dbd79270c854bc080;p=emacs.git ; Add a bit more docstring to tsx-ts-mode (bug#62429) * lisp/progmodes/typescript-ts-mode.el: (tsx-ts-mode): Explain a bit more. --- 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