yaml: enable company

This commit is contained in:
syl20bnr 2015-11-24 09:55:14 -05:00
parent a842d5bdf8
commit 093ae18d26

View file

@ -9,7 +9,11 @@
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(setq yaml-packages '(yaml-mode))
(setq yaml-packages '(company
yaml-mode))
(defun yaml/post-init-company ()
(add-hook 'yaml-mode-hook 'company-mode))
(defun yaml/init-yaml-mode ()
"Initialize YAML mode"