]> git.eshelyaron.com Git - emacs.git/commit
Fix 'yaml-ts-mode' filling of comments (Bug#77095)
authorRandy Taylor <dev@rjt.dev>
Sat, 5 Apr 2025 19:52:45 +0000 (15:52 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Apr 2025 17:31:12 +0000 (19:31 +0200)
commitcb243ddfff5dd1be1924fc4a3dee1b5b6b0f5b02
tree20eaa28c7b168e531f799dba449920e5b68c8328
parentc51474961235f458976f4b8d3fdbc31ea8be7d59
Fix 'yaml-ts-mode' filling of comments (Bug#77095)

* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode--fill-paragraph):
Handle comment filling differently than block_scalars.
(yaml-ts-mode): Set 'comment-start-skip'.

(cherry picked from commit 417ee3a7f7c66f6c23c9bab7228bfb64014573dd)
lisp/textmodes/yaml-ts-mode.el