aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCyril Roelandt2026-06-01 17:41:21 +0200
committerGitHub2026-06-01 16:41:21 +0100
commit860ebbd31486519fdbe68421835be251153f57f6 (patch)
treeee4ccebfb8c56c3faea13e6ed1512ba46388b2b7
parent36d541facbcaa3c947bd19ce85a7b854f9257598 (diff)
downloadale-860ebbd31486519fdbe68421835be251153f57f6.tar.gz

Doc: Add missing options for j2lint (#5129)

Closes: #5101

-rw-r--r--doc/ale-jinja.txt72
1 files changed, 72 insertions, 0 deletions
diff --git a/doc/ale-jinja.txt b/doc/ale-jinja.txt
index ad01d22d8..e981d347a 100644
--- a/doc/ale-jinja.txt
+++ b/doc/ale-jinja.txt
@@ -11,6 +11,78 @@ See |ale-html-djlint|
===============================================================================
j2lint *ale-jinja-j2lint*
+ *ale-options.jinja_j2lint_executable*
+ *g:ale_jinja_j2lint_executable*
+ *b:ale_jinja_j2lint_executable*
+jinja_j2lint_executable
+g:ale_jinja_j2lint_executable
+ Type: |String|
+ Default: `'j2lint'`
+
+ See |ale-integrations-local-executables|
+
+ Set this to `'pipenv'` to invoke `'pipenv` `run` `j2lint'`.
+ Set this to `'poetry'` to invoke `'poetry` `run` `j2lint'`.
+ Set this to `'uv'` to invoke `'uv` `run` `j2lint'`.
+
+ *ale-options.jinja_j2lint_options*
+ *g:ale_jinja_j2lint_options*
+ *b:ale_jinja_j2lint_options*
+
+jinja_j2lint_options
+g:ale_jinja_j2lint_options
+ Type: |String|
+ Default: `''`
+
+ This variable can be changed to add command-line arguments to the
+ j2lint invocation.
+
+ *ale-options.jinja_j2lint_use_global*
+ *g:ale_jinja_j2lint_use_global*
+ *b:ale_jinja_j2lint_use_global*
+
+jinja_j2lint_use_global
+g:ale_jinja_j2lint_use_global
+ Type: |Number|
+ Default: `get(g:, 'ale_use_global_executables', 0)`
+
+ See |ale-integrations-local-executables|
+
+ *ale-options.jinja_j2lint_auto_pipenv*
+ *g:ale_jinja_j2lint_auto_pipenv*
+ *b:ale_jinja_j2lint_auto_pipenv*
+
+jinja_j2lint_auto_pipenv
+g:ale_jinja_j2lint_auto_pipenv
+ Type: |Number|
+ Default: `0`
+
+ Detect whether the file is inside a pipenv, and set the executable to `pipenv`
+ if true. This is overridden by a manually-set executable.
+
+ *ale-options.jinja_j2lint_auto_poetry*
+ *g:ale_jinja_j2lint_auto_poetry*
+ *b:ale_jinja_j2lint_auto_poetry*
+
+jinja_j2lint_auto_poetry
+g:ale_jinja_j2lint_auto_poetry
+ Type: |Number|
+ Default: `0`
+
+ Detect whether the file is inside a poetry, and set the executable to `poetry`
+ if true. This is overridden by a manually-set executable.
+
+ *ale-options.jinja_j2lint_auto_uv*
+ *g:ale_jinja_j2lint_auto_uv*
+ *b:ale_jinja_j2lint_auto_uv*
+
+jinja_j2lint_auto_uv
+g:ale_jinja_j2lint_auto_uv
+ Type: |Number|
+ Default: `0`
+
+ Set the executable to `uv` if true. This is overridden by a manually-set
+ executable.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: