diff options
author | Trevor Whitney <trevorjwhitney@gmail.com> | 2021-09-20 19:49:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 10:49:15 +0900 |
commit | f8a4c78b5b293d11da9075373c9de0bb5afdeffe (patch) | |
tree | dd04aca1ee0b8f8cb5c91c0aac5172f8de607f07 /doc | |
parent | 2f72a3ed1972d23a5ef50c78715ec68f090932e8 (diff) | |
download | ale-f8a4c78b5b293d11da9075373c9de0bb5afdeffe.zip |
Add support for jsonnetfmt and jsonnet-lint (#3907)
* update to lates
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
* fix up docs
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
* fix docs
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
* get tests passing
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
* update regex
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
* use ale#Pad and AssertFixer
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-jsonnet.txt | 43 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 3 | ||||
-rw-r--r-- | doc/ale.txt | 3 |
3 files changed, 49 insertions, 0 deletions
diff --git a/doc/ale-jsonnet.txt b/doc/ale-jsonnet.txt new file mode 100644 index 00000000..f99d415f --- /dev/null +++ b/doc/ale-jsonnet.txt @@ -0,0 +1,43 @@ +=============================================================================== +ALE Jsonnet Integration *ale-jsonnet-options* + + +=============================================================================== +jsonnetfmt *ale-jsonnet-jsonnetfmt* + +g:ale_jsonnet_jsonnetfmt_executable *g:ale_jsonnet_jsonnetfmt_executable* + *b:ale_jsonnet_jsonnetfmt_executable* + Type: |String| + Default: `'jsonnetfmt'` + + This option can be changed to change the path for `jsonnetfmt`. + + +g:ale_jsonnet_jsonnetfmt_options *g:ale_jsonnet_jsonnetfmt_options* + *b:ale_jsonnet_jsonnetfmt_options* + Type: |String| + Default: `''` + + This option can be changed to pass extra options to `jsonnetfmt`. + + +=============================================================================== +jsonnet-lint *ale-jsonnet-jsonnet-lint* + +g:ale_jsonnet_jsonnet_lint_executable *g:ale_jsonnet_jsonnet_lint_executable* + *b:ale_jsonnet_jsonnet_lint_executable* + Type: |String| + Default: `'jsonnet-lint'` + + This option can be changed to change the path for `jsonnet-lint`. + + +g:ale_jsonnet_jsonnet_lint_options *g:ale_jsonnet_jsonnet_lint_options* + *b:ale_jsonnet_jsonnet_lint_options* + Type: |String| + Default: `''` + + This option can be changed to pass extra options to `jsonnet-lint`. + + + vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index 32e38b89..fec6937e 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -271,6 +271,9 @@ Notes: * `eslint` * JSONC * `eslint` +* Jsonnet + * `jsonnet-lint` + * `jsonnetfmt` * Julia * `languageserver` * Kotlin diff --git a/doc/ale.txt b/doc/ale.txt index 9a21e9f0..c9921b8b 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -2833,6 +2833,9 @@ documented in additional help files. spectral..............................|ale-json-spectral| jsonc...................................|ale-jsonc-options| eslint................................|ale-jsonc-eslint| + jsonnet.................................|ale-jsonnet-options| + jsonnetfmt............................|ale-jsonnet-jsonnetfmt| + jsonnet-lint..........................|ale-jsonnet-jsonnet-lint| json5...................................|ale-json5-options| eslint................................|ale-json5-eslint| julia...................................|ale-julia-options| |