Implement Lua ALE setup & overhaul documentation

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.
This commit is contained in:
w0rp
2025-03-20 21:33:12 +00:00
parent 2280d41b30
commit 400857d758
146 changed files with 5469 additions and 2642 deletions
+13 -9
View File
@@ -7,32 +7,36 @@ salt-lint *ale-salt-salt-lint*
Website: https://github.com/warpnet/salt-lint
Installation
-------------------------------------------------------------------------------
Installation
Install salt-lint in your a virtualenv directory, locally, or globally: >
pip install salt-lint # After activating virtualenv
pip install --user salt-lint # Install to ~/.local/bin
sudo pip install salt-lint # Install globally
<
See |g:ale_virtualenv_dir_names| for configuring how ALE searches for
virtualenv directories.
Options
-------------------------------------------------------------------------------
g:ale_salt_salt_lint_executable *g:ale_salt_salt_lint_executable*
*b:ale_salt_salt_lint_executable*
Options
*ale-options.salt_salt_lint_executable*
*g:ale_salt_salt_lint_executable*
*b:ale_salt_salt_lint_executable*
salt_salt_lint_executable
g:ale_salt_salt_lint_executable
Type: |String|
Default: `'salt-lint'`
This variable can be set to change the path to salt-lint.
g:ale_salt_salt_lint_options *g:ale_salt_salt_lint_options*
*b:ale_salt_salt_lint_options*
*ale-options.salt_salt_lint_options*
*g:ale_salt_salt_lint_options*
*b:ale_salt_salt_lint_options*
salt_salt_lint_options
g:ale_salt_salt_lint_options
Type: |String|
Default: `''`