From 093ae18d26074aa5d1445fd6ed88b98a4e4c9f75 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Tue, 24 Nov 2015 09:55:14 -0500 Subject: [PATCH] yaml: enable company --- layers/+lang/yaml/packages.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layers/+lang/yaml/packages.el b/layers/+lang/yaml/packages.el index b3576dad8..bbf3ce3cc 100644 --- a/layers/+lang/yaml/packages.el +++ b/layers/+lang/yaml/packages.el @@ -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"