From 57e19dde88d4d44837cc45edb332e3b906b8e70e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 18 May 2016 04:33:57 -0400 Subject: [PATCH] company-yasnippet + company-web-html backends (for pug-mode and web-mode) --- modules/module-web.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/module-web.el b/modules/module-web.el index f910e1cef..f4196fb53 100644 --- a/modules/module-web.el +++ b/modules/module-web.el @@ -67,6 +67,7 @@ :load-path "/Volumes/hlissner/Dropbox/work/plugins/pug-mode" :mode ("\\.jade$" "\\.pug$") :config + (def-company-backend! pug-mode (yasnippet)) (push '("jade" "html") projectile-other-file-alist) (push '("pug" "html") projectile-other-file-alist) (map! :map pug-mode-map @@ -84,6 +85,7 @@ :init (add-hook 'web-mode-hook 'turn-off-smartparens-mode) :config + (def-company-backend! web-mode (web-html yasnippet)) (setq web-mode-enable-html-entities-fontification t) (push '("html" "jade") projectile-other-file-alist)