36b50058bb
* Add terraform-lsp integration https://github.com/juliosueiras/terraform-lsp * Add tests & docs for terraform-lsp integration terraform_langserver_options setting added to send custom flags to terraform-lsp. Vader tests have been added to test custom executable, custom flags, and finding the project root. All tests pass. Initial documentation has been added for the above. Resolves dense-analysis/ale#2758, juliosueiras#57 * Fix tag alignment Co-authored-by: = <Aubrey.S.Lavigne@gmail.com> Co-authored-by: w0rp <w0rp@users.noreply.github.com>
78 lines
2.9 KiB
Text
78 lines
2.9 KiB
Text
===============================================================================
|
|
ALE Terraform Integration *ale-terraform-options*
|
|
|
|
|
|
===============================================================================
|
|
terraform-fmt-fixer *ale-terraform-fmt-fixer*
|
|
|
|
g:ale_terraform_fmt_executable *g:ale_terraform_fmt_executable*
|
|
*b:ale_terraform_fmt_executable*
|
|
|
|
Type: |String|
|
|
Default: `'terraform'`
|
|
|
|
This variable can be changed to use a different executable for terraform.
|
|
|
|
|
|
g:ale_terraform_fmt_options *g:ale_terraform_fmt_options*
|
|
*b:ale_terraform_fmt_options*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
|
|
===============================================================================
|
|
terraform *ale-terraform-terraform*
|
|
|
|
g:ale_terraform_terraform_executable *g:ale_terraform_terraform_executable*
|
|
*b:ale_terraform_terraform_executable*
|
|
|
|
Type: |String|
|
|
Default: `'terraform'`
|
|
|
|
This variable can be changed to use a different executable for terraform.
|
|
|
|
|
|
===============================================================================
|
|
terraform-lsp *ale-terraform-terraform-lsp*
|
|
|
|
g:ale_terraform_langserver_executable *g:ale_terraform_langserver_executable*
|
|
*b:ale_terraform_langserver_executable*
|
|
Type: |String|
|
|
Default: `'terraform-lsp'`
|
|
|
|
This variable can be changed to use a different executable for terraform-lsp.
|
|
|
|
|
|
g:ale_terraform_langserver_options *g:ale_terraform_langserver_options*
|
|
*b:ale_terraform_langserver_options*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be changed to pass custom CLI flags to terraform-lsp.
|
|
|
|
|
|
===============================================================================
|
|
tflint *ale-terraform-tflint*
|
|
|
|
g:ale_terraform_tflint_executable *g:ale_terraform_tflint_executable*
|
|
*b:ale_terraform_tflint_executable*
|
|
|
|
Type: |String|
|
|
Default: `'tflint'`
|
|
|
|
This variable can be changed to use a different executable for tflint.
|
|
|
|
|
|
g:ale_terraform_tflint_options *g:ale_terraform_tflint_options*
|
|
*b:ale_terraform_tflint_options*
|
|
Type: |String|
|
|
Default: `'-f json'`
|
|
|
|
This variable can be changed to pass different options to tflint. Ale does
|
|
expect json output from tflint, so if you change this, you'll probably want
|
|
to include '-f json' in your new value.
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
|
|