From 7d264527ae0c0b33e0f6f6e0c89b95bdc6e5a292 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Sat, 28 Oct 2023 10:02:07 +0200 Subject: [PATCH] Disable autp-fill-mode for yaml --- bundle/bundle--package.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 3f436c43..40e65dc2 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -493,7 +493,12 @@ Uses `mk/hyperspec-dir-locations' to find the directory." (use-package yaml-mode :defer t - :mode "\\.yml\\'") + :mode "\\.yml\\'" + :config + (defun disable-auto-fill () + (auto-fill-mode -1)) + :hook + (yaml-mode . disable-auto-fill)) (use-package csv-mode :defer t