emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 5a1c9aace70: ; Add a bit more docstring to tsx-ts-mode (bug#624


From: Yuan Fu
Subject: emacs-29 5a1c9aace70: ; Add a bit more docstring to tsx-ts-mode (bug#62429)
Date: Sun, 2 Apr 2023 18:10:46 -0400 (EDT)

branch: emacs-29
commit 5a1c9aace70b1f26b6cce38dbd79270c854bc080
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; Add a bit more docstring to tsx-ts-mode (bug#62429)
    
    * lisp/progmodes/typescript-ts-mode.el:
    (tsx-ts-mode): Explain a bit more.
---
 lisp/progmodes/typescript-ts-mode.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]