Add company-web/pug-mode to Caskfile + update projectile-other-file-alist for html files
This commit is contained in:
parent
9823e68585
commit
823d3b5107
2 changed files with 4 additions and 3 deletions
3
Cask
3
Cask
|
@ -235,13 +235,14 @@
|
||||||
|
|
||||||
;; Web -- modules/module-web.el
|
;; Web -- modules/module-web.el
|
||||||
(depends-on "web-mode")
|
(depends-on "web-mode")
|
||||||
|
(depends-on "company-web")
|
||||||
(depends-on "emmet-mode")
|
(depends-on "emmet-mode")
|
||||||
(depends-on "haml-mode")
|
(depends-on "haml-mode")
|
||||||
(depends-on "stylus-mode")
|
(depends-on "stylus-mode")
|
||||||
(depends-on "less-css-mode")
|
(depends-on "less-css-mode")
|
||||||
(depends-on "scss-mode")
|
(depends-on "scss-mode")
|
||||||
(depends-on "sass-mode")
|
(depends-on "sass-mode")
|
||||||
(depends-on "jaded-mode" :git "https://github.com/hlissner/jaded-mode")
|
(depends-on "pug-mode" :git "https://github.com/hlissner/pug-mode")
|
||||||
|
|
||||||
|
|
||||||
;;;; ORGANIZATIONAL/WRITING ;;;;;;;;;;;;
|
;;;; ORGANIZATIONAL/WRITING ;;;;;;;;;;;;
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
:config
|
:config
|
||||||
(def-company-backend! web-mode (web-html yasnippet))
|
(def-company-backend! web-mode (web-html yasnippet))
|
||||||
(setq web-mode-enable-html-entities-fontification t)
|
(setq web-mode-enable-html-entities-fontification t)
|
||||||
(push '("html" "jade") projectile-other-file-alist)
|
(push '("html" "jade" "pug" "jsx" "tsx") projectile-other-file-alist)
|
||||||
|
|
||||||
(map! :map web-mode-map :i "SPC" 'self-insert-command)
|
(map! :map web-mode-map :i "SPC" 'self-insert-command)
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
(web-mode-set-engine "django"))))
|
(web-mode-set-engine "django"))))
|
||||||
|
|
||||||
(def-project-type! wordpress "wp"
|
(def-project-type! wordpress "wp"
|
||||||
:modes (php-mode web-mode css-mode scss-mode sass-mode)
|
:modes (php-mode web-mode css-mode haml-mode pug-mode)
|
||||||
:match "/wp-\\(\\(content\\|admin\\|includes\\)/\\)?.+$"
|
:match "/wp-\\(\\(content\\|admin\\|includes\\)/\\)?.+$"
|
||||||
:files ("wp-config.php" "wp-content/"))
|
:files ("wp-config.php" "wp-content/"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue