Variable: web-mode-engine-file-regexps
web-mode-engine-file-regexps is a variable defined in web-mode.el.
Value
(("angular" . "\\.component\\.html\\'") ("anki" . "\\.anki\\'")
("antlers" . "\\.antlers\\.html\\'") ("archibus" . "\\.axvw\\'")
("artanis" . "\\.html\\.tpl\\'") ("asp" . "\\.asp\\'")
("aspx" . "\\.as[cp]x\\'") ("astro" . "\\.astro\\'")
("blade" . "\\.blade\\.php\\'") ("cl-emb" . "\\.clemb\\'")
("clip" . "\\.ctml\\'") ("closure" . "\\.soy\\'")
("ctemplate" . "\\.\\(chtml\\|mustache\\)\\'")
("django" . "\\.\\(djhtml\\|tmpl\\|dtl\\|liquid\\|j2\\|njk\\)\\'")
("dust" . "\\.dust\\'") ("elixir" . "\\.[hl]?eex\\'")
("ejs" . "\\.ejs\\'")
("erb" . "\\.\\(erb\\|rhtml\\|erb\\.html\\|ecr\\)\\'")
("expressionengine" . "\\.ee\\'") ("freemarker" . "\\.ftl\\'")
("go" . "\\.go\\(html\\|tmpl\\)\\'")
("handlebars" . "\\.\\(hb\\.html\\|hbs\\)\\'")
("hero" . "\\.hero\\'") ("jinja" . "\\.\\(jinja\\|nwt\\)\\'")
("jsp" . "\\.[gj]sp\\'") ("lsp" . "\\.lsp\\'")
("mako" . "\\.mako?\\'") ("marko" . "\\.marko\\'")
("mason" . "\\.mas\\'") ("mojolicious" . "\\.epl?\\'")
("perl" . "\\.\\(ptmpl\\|perl\\.html\\)\\'")
("php" . "\\.\\(p[hs]p\\|ctp\\|inc\\)\\'") ("python" . "\\.pml\\'")
("razor" . "\\.\\(cs\\|vb\\)html\\|\\.razor\\'")
("riot" . "\\.tag\\'") ("smarty" . "\\.tpl\\'")
("svelte" . "\\.svelte\\'") ("template-toolkit" . "\\.tt.?\\'")
("thymeleaf" . "\\.thtml\\'")
("velocity" . "\\.v\\(sl\\|tl\\|m\\)\\'") ("vue" . "\\.vue\\'")
("xoops" . "\\.xoops'") ("django" . "[st]wig") ("razor" . "scala")
("spip" . "spip"))
Documentation
Engine file extensions.
Source Code
;; Defined in /nix/store/2qgnz1rp30nzfz6w0apx4kdm14if1bbs-emacs-packages-deps/share/emacs/site-lisp/elpa/web-mode-20260831.219/web-mode.el
(defvar web-mode-engine-file-regexps
'(("angular" . "\\.component\\.html\\'")
("anki" . "\\.anki\\'")
("antlers" . "\\.antlers\\.html\\'")
("archibus" . "\\.axvw\\'")
("artanis" . "\\.html\\.tpl\\'")
("asp" . "\\.asp\\'")
("aspx" . "\\.as[cp]x\\'")
("astro" . "\\.astro\\'")
("blade" . "\\.blade\\.php\\'")
("cl-emb" . "\\.clemb\\'")
("clip" . "\\.ctml\\'")
("closure" . "\\.soy\\'")
("ctemplate" . "\\.\\(chtml\\|mustache\\)\\'")
("django" . "\\.\\(djhtml\\|tmpl\\|dtl\\|liquid\\|j2\\|njk\\)\\'")
("dust" . "\\.dust\\'")
("elixir" . "\\.[hl]?eex\\'")
("ejs" . "\\.ejs\\'")
("erb" . "\\.\\(erb\\|rhtml\\|erb\\.html\\|ecr\\)\\'")
("expressionengine" . "\\.ee\\'")
("freemarker" . "\\.ftl\\'")
("go" . "\\.go\\(html\\|tmpl\\)\\'")
("handlebars" . "\\.\\(hb\\.html\\|hbs\\)\\'")
("hero" . "\\.hero\\'")
("jinja" . "\\.\\(jinja\\|nwt\\)\\'")
("jsp" . "\\.[gj]sp\\'")
("lsp" . "\\.lsp\\'")
("mako" . "\\.mako?\\'")
("marko" . "\\.marko\\'")
("mason" . "\\.mas\\'")
("mojolicious" . "\\.epl?\\'")
("perl" . "\\.\\(ptmpl\\|perl\\.html\\)\\'")
("php" . "\\.\\(p[hs]p\\|ctp\\|inc\\)\\'")
("python" . "\\.pml\\'")
("razor" . "\\.\\(cs\\|vb\\)html\\|\\.razor\\'")
("riot" . "\\.tag\\'")
("smarty" . "\\.tpl\\'")
("svelte" . "\\.svelte\\'")
("template-toolkit" . "\\.tt.?\\'")
("thymeleaf" . "\\.thtml\\'")
("velocity" . "\\.v\\(sl\\|tl\\|m\\)\\'")
("vue" . "\\.vue\\'")
("xoops" . "\\.xoops'")
;; regexp on the path, not just the extension
("django" . "[st]wig")
("razor" . "scala")
("spip" . "spip")
)
"Engine file extensions.")