summaryrefslogtreecommitdiff
path: root/ale_linters/go/gosimple.vim
blob: 490d15a9faf2fb3c89d69c7ef25664999b36f432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" Author: Ben Reedy <https://github.com/breed808>
" Description: gosimple for Go files

call ale#linter#Define('go', {
\   'name': 'gosimple',
\   'executable': 'gosimple',
\   'cwd': '%s:h',
\   'command': {b -> ale#go#EnvString(b) . 'gosimple .'},
\   'callback': 'ale#handlers#go#Handler',
\   'output_stream': 'both',
\   'lint_file': 1,
\})