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 53f036fe9f
commit bcd1a12949
146 changed files with 5469 additions and 2642 deletions
+31 -12
View File
@@ -8,58 +8,77 @@ thrift *ale-thrift-thrift*
The `thrift` linter works by compiling the buffer's contents and reporting any
errors reported by the parser and the configured code generator(s).
g:ale_thrift_thrift_executable *g:ale_thrift_thrift_executable*
-------------------------------------------------------------------------------
Options
*ale-options.thrift_thrift_executable*
*g:ale_thrift_thrift_executable*
*b:ale_thrift_thrift_executable*
thrift_thrift_executable
g:ale_thrift_thrift_executable
Type: |String|
Default: `'thrift'`
See |ale-integrations-local-executables|
g:ale_thrift_thrift_generators *g:ale_thrift_thrift_generators*
*ale-options.thrift_thrift_generators*
*g:ale_thrift_thrift_generators*
*b:ale_thrift_thrift_generators*
Type: |List| of |String|s
thrift_thrift_generators
g:ale_thrift_thrift_generators
Type: |List|
Default: `['cpp']`
This list must contain one or more named code generators. Generator options
can be included as part of each string, e.g. `['py:dynamic']`.
g:ale_thrift_thrift_includes *g:ale_thrift_thrift_includes*
*ale-options.thrift_thrift_includes*
*g:ale_thrift_thrift_includes*
*b:ale_thrift_thrift_includes*
Type: |List| of |String|s
thrift_thrift_includes
g:ale_thrift_thrift_includes
Type: |List|
Default: `['.']`
This list contains paths that will be searched for thrift `include`
directives.
g:ale_thrift_thrift_options *g:ale_thrift_thrift_options*
*ale-options.thrift_thrift_options*
*g:ale_thrift_thrift_options*
*b:ale_thrift_thrift_options*
thrift_thrift_options
g:ale_thrift_thrift_options
Type: |String|
Default: `'-strict'`
This variable can be changed to customize the additional command-line
arguments that are passed to the thrift compiler.
===============================================================================
thriftcheck *ale-thrift-thriftcheck*
g:ale_thrift_thriftcheck_executable *g:ale_thrift_thriftcheck_executable*
*ale-options.thrift_thriftcheck_executable*
*g:ale_thrift_thriftcheck_executable*
*b:ale_thrift_thriftcheck_executable*
thrift_thriftcheck_executable
g:ale_thrift_thriftcheck_executable
Type: |String|
Default: `'thriftcheck'`
See |ale-integrations-local-executables|
g:ale_thrift_thriftcheck_options *g:ale_thrift_thriftcheck_options*
*ale-options.thrift_thriftcheck_options*
*g:ale_thrift_thriftcheck_options*
*b:ale_thrift_thriftcheck_options*
thrift_thriftcheck_options
g:ale_thrift_thriftcheck_options
Type: |String|
Default: `''`
This variable can be changed to customize the additional command-line
arguments that are passed to thriftcheck.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: