mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 04:34:25 +08:00
1. Add ale.setup and ale.setup.buffer for pure Lua configuration. 2. Update many global settings to use Booleans instead of numbers to make types easiert to work with in Lua. 3. Radically reformat documentation and fix errors to make documentation more usable for Neovim users.
59 lines
2.2 KiB
Plaintext
59 lines
2.2 KiB
Plaintext
===============================================================================
|
|
ALE Rego Integration *ale-rego-options*
|
|
|
|
|
|
===============================================================================
|
|
cspell *ale-rego-cspell*
|
|
|
|
See |ale-cspell-options|
|
|
|
|
|
|
===============================================================================
|
|
opacheck *ale-rego-opa-check*
|
|
|
|
*ale-options.rego_opacheck_executable*
|
|
*g:ale_rego_opacheck_executable*
|
|
*b:ale_rego_opacheck_executable*
|
|
rego_opacheck_executable
|
|
g:ale_rego_opacheck_executable
|
|
Type: |String|
|
|
Default: `'opa'`
|
|
|
|
This variable can be changed to use a different executable for opa.
|
|
|
|
*ale-options.rego_opacheck_options*
|
|
*g:rego_opacheck_options*
|
|
*b:rego_opacheck_options*
|
|
rego_opacheck_options
|
|
g:ale_rego_opacheck_options
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be changed to pass custom CLI flags to opa check.
|
|
|
|
|
|
===============================================================================
|
|
opafmt *ale-rego-opa-fmt-fixer*
|
|
|
|
*ale-options.opa_fmt_executable*
|
|
*g:ale_opa_fmt_executable*
|
|
*b:ale_opa_fmt_executable*
|
|
opa_fmt_executable
|
|
g:ale_opa_fmt_executable
|
|
Type: |String|
|
|
Default: `'opa'`
|
|
|
|
This variable can be changed to use a different executable for opa.
|
|
|
|
*ale-options.opa_fmt_options*
|
|
*g:ale_opa_fmt_options*
|
|
*b:ale_opa_fmt_options*
|
|
opa_fmt_options
|
|
g:ale_opa_fmt_options
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|