mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Use use-package's :hook
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
;;; lang/rst/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! sphinx-mode
|
||||
:init
|
||||
(add-hook! 'rst-mode-hook #'sphinx-mode))
|
||||
:hook (rst-mode . sphinx-mode))
|
||||
|
||||
(use-package! rst
|
||||
:config
|
||||
|
Reference in New Issue
Block a user