lang/web: correct config file check for jekyll
Jekyll looks for _config.(yml|toml), not config.yml.
This commit is contained in:
parent
91b76d8437
commit
34c490aae5
1 changed files with 2 additions and 1 deletions
|
@ -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")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue