mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add tags for buffer-local variants of each linter option
This commit is contained in:
@@ -12,14 +12,15 @@ Integration Information
|
||||
|
||||
Currently linters must be enabled globally. The rpmlint linter can be
|
||||
enabled with:
|
||||
|
||||
>
|
||||
let g:ale_linters = {'spec': ['rpmlint']}
|
||||
<
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
rpmlint *ale-spec-rpmlint*
|
||||
|
||||
g:ale_spec_rpmlint_executable *g:ale_spec_rpmlint_executable*
|
||||
|
||||
*b:ale_spec_rpmlint_executable*
|
||||
Type: |String|
|
||||
Default: `'rpmlint'`
|
||||
|
||||
@@ -27,15 +28,16 @@ g:ale_spec_rpmlint_executable *g:ale_spec_rpmlint_executable*
|
||||
|
||||
|
||||
g:ale_spec_rpmlint_options *g:ale_spec_rpmlint_options*
|
||||
|
||||
*b:ale_spec_rpmlint_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
Set this to pass extra arguments to rpmlint.
|
||||
|
||||
For example, to instruct rpmlint to use a specific configuration file:
|
||||
|
||||
>
|
||||
let g:ale_spec_rpmlint_options = '-f custom.cf'
|
||||
<
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
||||
Reference in New Issue
Block a user