jaded-mode => pug-mode

This commit is contained in:
Henrik Lissner 2016-05-18 02:09:07 -04:00
parent 4c1c6aeb8b
commit a961a45eca

View file

@ -63,12 +63,13 @@
(use-package haml-mode :mode "\\.haml$") (use-package haml-mode :mode "\\.haml$")
(use-package jaded-mode (use-package pug-mode
:load-path "/Volumes/hlissner/Dropbox/work/plugins/jaded-mode" :load-path "/Volumes/hlissner/Dropbox/work/plugins/pug-mode"
:mode "\\.jade$" :mode ("\\.jade$" "\\.pug$")
:config :config
(push '("jade" "html") projectile-other-file-alist) (push '("jade" "html") projectile-other-file-alist)
(map! :map jaded-mode-map (push '("pug" "html") projectile-other-file-alist)
(map! :map pug-mode-map
:i [tab] 'narf/dumb-indent :i [tab] 'narf/dumb-indent
:i [backtab] 'narf/dumb-dedent)) :i [backtab] 'narf/dumb-dedent))
@ -129,7 +130,8 @@
;; ;;
(def-project-type! jekyll ":{" (def-project-type! jekyll ":{"
:modes (web-mode scss-mode html-mode markdown-mode yaml-mode) :modes (web-mode js-mode js2-mode json-mode coffee-mode scss-mode sass-mode
less-css-mode pug-mode)
:match "/\\(\\(css\\|_\\(layouts\\|posts\\|sass\\)\\)/.+\\|.+.html\\)$" :match "/\\(\\(css\\|_\\(layouts\\|posts\\|sass\\)\\)/.+\\|.+.html\\)$"
:files ("config.yml" "_layouts/") :files ("config.yml" "_layouts/")
(add-hook! mode (add-hook! mode