* 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)
;; Comments.
(setq-local comment-start "# ")
(setq-local comment-end "")
- (setq-local comment-start-skip "#+\\s-*")
+ (setq-local comment-start-skip "#+ *")
;; Indentation.
(setq-local indent-tabs-mode nil)