yaml: hook -> mode

This commit is contained in:
Peter Hoeg 2020-04-24 12:14:00 +08:00
parent 5205fde619
commit 68c6225115

View file

@ -1,7 +1,7 @@
;;; lang/yaml/config.el -*- lexical-binding: t; -*- ;;; lang/yaml/config.el -*- lexical-binding: t; -*-
(use-package! yaml-mode (use-package! yaml-mode
:hook "Procfile\\'" :mode "Procfile\\'"
:init :init
(when (featurep! +lsp) (when (featurep! +lsp)
(add-hook 'yaml-mode-local-vars-hook #'lsp!)) (add-hook 'yaml-mode-local-vars-hook #'lsp!))