company-yasnippet + company-web-html backends (for pug-mode and web-mode)
This commit is contained in:
parent
4b13812eda
commit
57e19dde88
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue