]> git.eshelyaron.com Git - emacs.git/commit
Fix yaml-ts-mode comment-start-skip to improve commenting/uncommenting
authorJames Cherti <contact@jamescherti.com>
Tue, 24 Jun 2025 17:25:40 +0000 (13:25 -0400)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 19:19:00 +0000 (21:19 +0200)
commit484296f08ff4b4a3d9aaf5587388a30ba2ab2520
treedd891cb21fbf3eec2309de53c0140d9b6bfa6117
parent46314b03b17607fb920dc3b507caf3b1d3570313
Fix yaml-ts-mode comment-start-skip to improve commenting/uncommenting

* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode): Fix 'comment-start-skip'
value to resolve an issue when commenting/uncommenting using the
'comment-or-uncomment-region' function.  The previous 'comment-start-skip'
value left some "-" uncommented after commenting and uncommenting
multiple YAML indented blocks (bug#78892).

Copyright-paperwork-exempt: yes
(cherry picked from commit faae9f572ab3027c46800575a12a72c8c0eee7c1)
lisp/textmodes/yaml-ts-mode.el