summaryrefslogtreecommitdiff
path: root/ale_linters/apkbuild/apkbuild_lint.vim
blob: 285f55349afa953ecfa73f94692c391d88b24185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" Author: Leo <thinkabit.ukim@gmail.com>
" Description: apkbuild-lint from atools linter for APKBUILDs

call ale#Set('apkbuild_apkbuild_lint_executable', 'apkbuild-lint')

call ale#linter#Define('apkbuild', {
\   'name': 'apkbuild_lint',
\   'output_stream': 'stdout',
\   'executable': {b -> ale#Var(b, 'apkbuild_apkbuild_lint_executable')},
\   'command': '%e %t',
\   'callback': 'ale#handlers#atools#Handle',
\})