Extended adoc and markdown modes with visual-line-mode.
This commit is contained in:
parent
ba50935bdc
commit
7627103cba
14
init.el
14
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user