Pug mode support has been added
This commit is contained in:
parent
898f02603d
commit
b49a32b73c
|
@ -9,6 +9,7 @@
|
|||
(depends-on 'js2-refactor)
|
||||
(depends-on 'smart-forward)
|
||||
(depends-on 'ac-js2)
|
||||
(depends-on 'pug-mode)
|
||||
|
||||
(with-ability prettierjs
|
||||
(depends-on 'prettier-js))
|
||||
|
|
|
@ -38,6 +38,14 @@
|
|||
(require 'ac-js2)
|
||||
(add-to-list 'company-backends 'ac-js2-company))
|
||||
|
||||
(with-ability pug-editor ()
|
||||
"Pug template editor."
|
||||
(setq pug-tab-width 2)
|
||||
(add-to-list 'auto-mode-alist '("\\.pug\\'" . (lambda ()
|
||||
(require 'pug-mode)
|
||||
(pug-mode)
|
||||
(setq pug-tab-width 2)))))
|
||||
|
||||
(ability javascript-editor ('flycheck)
|
||||
"Gives FG42 the ability to edit javascript."
|
||||
|
||||
|
|
Loading…
Reference in New Issue