Extended adoc and markdown modes with visual-line-mode.

This commit is contained in:
tastytea 2019-03-22 07:42:19 +01:00
parent ba50935bdc
commit 7627103cba
1 changed files with 10 additions and 4 deletions

14
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-22 06:28:08 CET>
;;; Time-stamp: <2019-03-22 07:40:06 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -577,15 +577,21 @@
;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package adoc-mode
:mode (("\\.adoc" . adoc-mode)))
:mode
(("\\.adoc" . adoc-mode))
:hook
(adoc-mode . visual-line-mode))
(use-package markdown-mode
:init
(setq markdown-command "markdown2")
:mode
(("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init
(setq markdown-command "markdown2"))
:hook
(markdown-mode . visual-line-mode)
)
(use-package crontab-mode
:mode