fix docs for actionlint (#4181)

Co-authored-by: bretello <bretello@distruzione.org>
This commit is contained in:
bretello 2022-05-04 03:53:59 +02:00 committed by GitHub
parent 204e6294cf
commit 323e2c0b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -13,12 +13,13 @@ Installation
See installation guide: https://github.com/rhysd/actionlint#quick-start
This linter is disabled by default and must be enabled byt setting `g:ale_linters`.
This linter is disabled by default and must be enabled by setting `g:ale_linters`.
To enable it only for Github Action YAML files a configuration like this is
better:
>
au BufRead,BufNewFile */.github/*/*.y.?ml let b:ale_linters = {'yaml': ['actionlint']}
au BufRead,BufNewFile */.github/*/*.y{,a}ml
\ let b:ale_linters = {'yaml': ['actionlint']}
<
Options