General refactor for consistency & idempotency
Also updated comments
This commit is contained in:
parent
50401f6c09
commit
80adb9c1f6
17 changed files with 48 additions and 40 deletions
|
@ -15,10 +15,11 @@
|
|||
markdown-hide-urls nil) ; trigger with `markdown-toggle-url-hiding'
|
||||
|
||||
:config
|
||||
(defun +markdown|set-fill-column-and-line-spacing ()
|
||||
(setq-local line-spacing 2)
|
||||
(setq-local fill-column 80))
|
||||
(add-hook 'markdown-mode-hook #'+markdown|set-fill-column-and-line-spacing)
|
||||
(add-hook 'markdown-mode-hook #'auto-fill-mode)
|
||||
(setq-hook! 'markdown-mode-hook
|
||||
line-spacing 2
|
||||
fill-column 80)
|
||||
|
||||
(map! (:map markdown-mode-map
|
||||
[remap find-file-at-point] #'markdown-follow-thing-at-point
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue