Replace add-hook! with setq-hook! where possible

This commit is contained in:
Henrik Lissner 2018-05-07 22:37:19 +02:00
parent fe2ed9b6f7
commit 168cb74794
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@
#'(yas-minor-mode-on flycheck-mode highlight-numbers-mode))
;; An improved newline+continue comment function
(add-hook! css-mode (setq-local comment-indent-function #'+css/comment-indent-new-line))
(setq-hook! css-mode comment-indent-function #'+css/comment-indent-new-line)
(after! smartparens
(sp-with-modes '(css-mode scss-mode less-css-mode stylus-mode)