From 323e2c0b6fef6a9a90fae6cff312cd73cec94f83 Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 4 May 2022 03:53:59 +0200 Subject: [PATCH] fix docs for actionlint (#4181) Co-authored-by: bretello --- doc/ale-yaml.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/ale-yaml.txt b/doc/ale-yaml.txt index 39f5121b..8d44973d 100644 --- a/doc/ale-yaml.txt +++ b/doc/ale-yaml.txt @@ -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