mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +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.
52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
===============================================================================
|
|
ALE Pug Integration *ale-pug-options*
|
|
|
|
|
|
===============================================================================
|
|
puglint *ale-pug-puglint*
|
|
|
|
The puglint linter will detect configuration files based on the path to the
|
|
filename automatically. Configuration files will be loaded in this order:
|
|
|
|
1. `.pug-lintrc`
|
|
2. `.pug-lintrc.js`
|
|
3. `.pug-lintrc.json`
|
|
4. `package.json`
|
|
|
|
You might need to create a configuration file for your project to get
|
|
meaningful results.
|
|
|
|
*ale-options.pug_puglint_executable*
|
|
*g:ale_pug_puglint_executable*
|
|
*b:ale_pug_puglint_executable*
|
|
pug_puglint_executable
|
|
g:ale_pug_puglint_executable
|
|
Type: |String|
|
|
Default: `'pug-lint'`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
*ale-options.pug_puglint_options*
|
|
*g:ale_pug_puglint_options*
|
|
*b:ale_pug_puglint_options*
|
|
pug_puglint_options
|
|
g:ale_pug_puglint_options
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be set to pass additional options to pug-lint.
|
|
|
|
*ale-options.pug_puglint_use_global*
|
|
*g:ale_pug_puglint_use_global*
|
|
*b:ale_pug_puglint_use_global*
|
|
pug_puglint_use_global
|
|
g:ale_pug_puglint_use_global
|
|
Type: |Number|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|