e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
12 lines
486 B
VimL
12 lines
486 B
VimL
" Authors: Franco Victorio - https://github.com/fvictorio, Henrique Barcelos
|
|
" https://github.com/hbarcelos
|
|
" Description: Report errors in Solidity code with solhint
|
|
|
|
call ale#linter#Define('solidity', {
|
|
\ 'name': 'solhint',
|
|
\ 'output_stream': 'both',
|
|
\ 'executable': function('ale#handlers#solhint#GetExecutable'),
|
|
\ 'cwd': function('ale#handlers#solhint#GetCwd'),
|
|
\ 'command': function('ale#handlers#solhint#GetCommand'),
|
|
\ 'callback': 'ale#handlers#solhint#Handle',
|
|
\})
|