diff options
author | bretello <bretello@users.noreply.github.com> | 2022-05-03 03:03:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 10:03:05 +0900 |
commit | c694a241883ec5c33f972a612cfcd464cda3c5fa (patch) | |
tree | 33d531ac54d1fd25dd06ad833e0afaa747f43b6b /ale_linters | |
parent | 56399106fcf9d80d476307576bc307e67f0167e2 (diff) | |
download | ale-c694a241883ec5c33f972a612cfcd464cda3c5fa.zip |
add yaml actionlint support (github actions) (#4173)
Co-authored-by: bretello <bretello@distruzione.org>
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/yaml/actionlint.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ale_linters/yaml/actionlint.vim b/ale_linters/yaml/actionlint.vim new file mode 100644 index 00000000..e51cf5f0 --- /dev/null +++ b/ale_linters/yaml/actionlint.vim @@ -0,0 +1,10 @@ +" Author: bretello <bretello@distruzione.org> + +call ale#Set('yaml_actionlint_executable', 'actionlint') + +call ale#linter#Define('yaml', { +\ 'name': 'actionlint', +\ 'executable': {b -> ale#Var(b, 'yaml_actionlint_executable')}, +\ 'command': function('ale#handlers#actionlint#GetCommand'), +\ 'callback': 'ale#handlers#actionlint#Handle', +\}) |