company-yasnippet + company-web-html backends (for pug-mode and web-mode)

This commit is contained in:
Henrik Lissner 2016-05-18 04:33:57 -04:00
parent 4b13812eda
commit 57e19dde88

View file

@ -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)