Emacs: Truncate lines in YAML files.

This commit is contained in:
tastytea 2020-02-06 19:49:29 +01:00
parent 90f54d8b67
commit 7983b8000d

View File

@ -1,6 +1,6 @@
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*- ;;; 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: ;;; Commentary:
@ -44,6 +44,9 @@
(use-package yaml-mode (use-package yaml-mode
:mode :mode
("\\.yml$" . yaml-mode) ("\\.yml$" . yaml-mode)
:hook
(yaml-mode . my/truncate-lines)
) )
(use-package mediawiki) (use-package mediawiki)