From 725189468b6539d7bbf027afcbbb7e76c76cad74 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 11 Feb 2024 03:05:46 +0100 Subject: [PATCH] add j2 as jinja2 extension - ansible uses .j2 for all jinja templates in its documentation - https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_module.html --- README.md | 2 +- Unix/cloc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d5e53f6a..8e22f0b4 100644 --- a/README.md +++ b/README.md @@ -1151,7 +1151,7 @@ Java (java) JavaScript (_js, bones, cjs, es6, jake, jakefile, js, jsb, jscad, jsfl, jsm, jss, mjs, njs, pac, sjs, ssjs, xsjs, xsjslib) JavaServer Faces (jsf) JCL (jcl) -Jinja Template (jinja, jinja2) +Jinja Template (j2, jinja, jinja2) JSON (arcconfig, avsc, composer.lock, geojson, gltf, har, htmlhintrc, json, json-tmlanguage, jsonl, mcmeta, mcmod.info, tern-config, tern-project, tfstate, tfstate.backup, topojson, watchmanconfig, webapp, webmanifest, yyp) JSON5 (json5) JSP (jsp, jspf) diff --git a/Unix/cloc b/Unix/cloc index 8835811d..78ef6c1c 100755 --- a/Unix/cloc +++ b/Unix/cloc @@ -8528,6 +8528,7 @@ sub set_constants { # {{{1 'jsf' => 'JavaServer Faces' , 'jsx' => 'JSX' , 'xhtml' => 'XHTML' , + 'j2' => 'Jinja Template' , 'jinja' => 'Jinja Template' , 'jinja2' => 'Jinja Template' , 'yyp' => 'JSON' ,