]> git.eshelyaron.com Git - emacs.git/commit
Fix 'fill-paragraph' in 'yaml-ts-mode'
authorGraham Marlow <graham@mgmarlow.com>
Tue, 30 Jan 2024 01:16:04 +0000 (17:16 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:00:55 +0000 (12:00 +0100)
commit38f4bdb5e824115b3bc81caa8cfce2ea66c96a15
tree4d70c6020c464dbc1f15e861eb8e95d9cba193f5
parentc164914d2b2fc9535cd488797300c90e76b39d94
Fix 'fill-paragraph' in 'yaml-ts-mode'

* lisp/textmodes/yaml-ts-mode.el (yaml-ts-mode--fill-paragraph):
Avoid 'fill-paragraph' when outside of block_scalar or comment
nodes.  (Bug#68781)

(cherry picked from commit 4adb4b2ac507636a82373ed1323dabcb7ee9258d)
lisp/textmodes/yaml-ts-mode.el