From 7983b8000d81eaeb338f660a24741636d0f66f76 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 6 Feb 2020 19:49:29 +0100 Subject: [PATCH] Emacs: Truncate lines in YAML files. --- init.d/text/misc.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.d/text/misc.el b/init.d/text/misc.el index 9e2e9cc..1b19517 100644 --- a/init.d/text/misc.el +++ b/init.d/text/misc.el @@ -1,6 +1,6 @@ ;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-26T21:44:47+0100> +;; Time-stamp: <2020-02-06T19:49:14+0100> ;;; Commentary: @@ -44,6 +44,9 @@ (use-package yaml-mode :mode ("\\.yml$" . yaml-mode) + + :hook + (yaml-mode . my/truncate-lines) ) (use-package mediawiki)