mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
add: support config option for checkmake linter (#4351)
`checkmake` by default checks config file "in the same folder it's executed in" unless `--config` option is set. This commit allows setting the `--config` option with an option variable (with documentation updated).
This commit is contained in:
18
doc/ale-make.txt
Normal file
18
doc/ale-make.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
===============================================================================
|
||||
ALE Make Integration *ale-make-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
checkmake *ale-make-checkmake*
|
||||
|
||||
g:ale_make_checkmake_config *g:ale_make_checkmake_config*
|
||||
*b:ale_make_checkmake_config*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be used to set the `--config` option of checkmake command.
|
||||
if the value is empty, the checkmake command will not be invoked with the
|
||||
option.
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
@@ -3037,6 +3037,8 @@ documented in additional help files.
|
||||
luafmt................................|ale-lua-luafmt|
|
||||
selene................................|ale-lua-selene|
|
||||
stylua................................|ale-lua-stylua|
|
||||
make....................................|ale-make-options|
|
||||
checkmake.............................|ale-make-checkmake|
|
||||
markdown................................|ale-markdown-options|
|
||||
cspell................................|ale-markdown-cspell|
|
||||
dprint................................|ale-markdown-dprint|
|
||||
|
||||
Reference in New Issue
Block a user