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

14
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file. ;;; 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: ;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with ;;; I am using this file with Emacs 26, but most of it will probably work with
@ -577,15 +577,21 @@
;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package adoc-mode (use-package adoc-mode
:mode (("\\.adoc" . adoc-mode))) :mode
(("\\.adoc" . adoc-mode))
:hook
(adoc-mode . visual-line-mode))
(use-package markdown-mode (use-package markdown-mode
:init
(setq markdown-command "markdown2")
:mode :mode
(("README\\.md\\'" . gfm-mode) (("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode) ("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode)) ("\\.markdown\\'" . markdown-mode))
:init :hook
(setq markdown-command "markdown2")) (markdown-mode . visual-line-mode)
)
(use-package crontab-mode (use-package crontab-mode
:mode :mode