emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 fb2c4409207: ; * lisp/progmodes/c-ts-mode.el (c++-ts-mode): Add


From: Yuan Fu
Subject: emacs-29 fb2c4409207: ; * lisp/progmodes/c-ts-mode.el (c++-ts-mode): Add some notice.
Date: Sun, 2 Apr 2023 02:15:18 -0400 (EDT)

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

    ; * lisp/progmodes/c-ts-mode.el (c++-ts-mode): Add some notice.
---
 lisp/progmodes/c-ts-mode.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index e2705462025..981c7766375 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -996,7 +996,11 @@ To use tree-sitter C/C++ modes by default, evaluate
     (add-to-list \\='major-mode-remap-alist
                  \\='(c-or-c++-mode . c-or-c++-ts-mode))
 
-in your configuration."
+in your configuration.
+
+Since this mode uses a parser, unbalanced brackets might cause
+some breakage in indentation/fontification.  Therefore, it's
+recommended to enable `electric-pair-mode' with this mode."
   :group 'c++
   :after-hook (c-ts-mode-set-modeline)
 



reply via email to

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