]> git.eshelyaron.com Git - emacs.git/commit
Improve yaml-ts-mode fill-paragraph (bug#68226)
authorGraham Marlow <graham@mgmarlow.com>
Tue, 2 Jan 2024 21:58:22 +0000 (13:58 -0800)
committerYuan Fu <casouri@gmail.com>
Fri, 5 Jan 2024 00:40:35 +0000 (16:40 -0800)
commit1d40c601b3b77d3bf1ad1bdfbaf2f479ba9c4998
treebe0b6fca0d7f03745f1ae13da468ffbc28c78532
parent1081e975c9370999df1a288b117bfd9053050d21
Improve yaml-ts-mode fill-paragraph (bug#68226)

When using fill-paragraph on a block_scalar (the element within a
block_node) fill the paragraph such that the contents remain
within the block_node. This fixes the previous behavior that would
clobber a block_node.

* lisp/textmodes/yaml-ts-mode.el: Add yaml-ts-mode--fill-paragraph
lisp/textmodes/yaml-ts-mode.el