diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:37:49 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:37:49 +0200 |
commit | 74747c981660dc3e8e23480f8484db6d5f439df0 (patch) | |
tree | 8461f124565107373d0c724efcad2aa164d98cd8 /.dir-locals.el | |
parent | c9f228d83b4551c0057d3e04752f230d4cc907b5 (diff) |
Disable auto-fill-mode (properly I hope)
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 8395dfc..20191b9 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,10 +1,13 @@ -((csv-mode . ((number-format-predicate - . (lambda (beg end) - (save-excursion - (goto-char beg) - (not (bolp))))))) - (go-ts-mode . ((comment-start . "/* ") - (comment-end . " */") - (comment-continue . " ") - (require-final-newline . t))) - (mhtml-mode . ((auto-fill-mode . nil))))
\ No newline at end of file +((csv-mode + ((number-format-predicate + . (lambda (beg end) + (save-excursion + (goto-char beg) + (not (bolp))))))) + (go-ts-mode + ((comment-start . "/* ") + (comment-end . " */") + (comment-continue . " ") + (require-final-newline . t))) + (mhtml-mode + ((eval . (add-hook 'mhtml-mode-hook (lambda () (auto-fill-mode -1)))))))
\ No newline at end of file |