mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/web: correct config file check for jekyll
Jekyll looks for _config.(yml|toml), not config.yml.
This commit is contained in:
@ -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")))
|
||||
|
Reference in New Issue
Block a user