lang/web: correct config file check for jekyll

Jekyll looks for _config.(yml|toml), not config.yml.
This commit is contained in:
Henrik Lissner 2018-11-07 19:22:03 -05:00
parent 91b76d8437
commit 34c490aae5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -24,7 +24,8 @@
(def-project-mode! +web-jekyll-mode
:modes (web-mode js-mode coffee-mode css-mode haml-mode pug-mode)
:files (and "config.yml" (or "_layouts/" "_posts/"))
:files (and (or "_config.yml" "_config.toml")
(or "_layouts/" "_posts/"))
:on-enter
(when (eq major-mode 'web-mode)
(web-mode-set-engine "django")))