10 lines
272 B
VimL
10 lines
272 B
VimL
" Author: Ben Reedy <https://github.com/breed808>
|
|
" Description: staticcheck for Go files
|
|
|
|
call ale#linter#Define('go', {
|
|
\ 'name': 'staticcheck',
|
|
\ 'executable': 'staticcheck',
|
|
\ 'command': 'staticcheck %t',
|
|
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
|
|
\})
|