el-get/recipes/django-mode.rcp
Ryan C. Thompson cf34f9aa0a Clean up whitespace
This commit is the result of running cleanup-whitespace.sh.

Fixes #549.
2014-02-21 10:52:48 -08:00

14 lines
588 B
Plaintext

(:name django-mode
:description "Major mode for Django web framework."
:type github
:pkgname "myfreeweb/django-mode"
:depends yasnippet
:prepare (autoload 'django-mode "django-mode" "Major mode for Django web framework." t)
:post-init
(progn
;; Load yasnippet because yas/load-directory has no autoload
(require 'yasnippet)
(yas/load-directory (expand-file-name "snippets"))
;; django-html-mode is autoloaded, should just work
(add-to-list 'auto-mode-alist '("\.djhtml$" . django-html-mode))))