diff options
Diffstat (limited to 'dotfiles/.vim/autoload/neomake/makers/ft/sql.vim')
| -rw-r--r-- | dotfiles/.vim/autoload/neomake/makers/ft/sql.vim | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/sql.vim b/dotfiles/.vim/autoload/neomake/makers/ft/sql.vim new file mode 100644 index 0000000..bdbfdfa --- /dev/null +++ b/dotfiles/.vim/autoload/neomake/makers/ft/sql.vim @@ -0,0 +1,13 @@ +function! neomake#makers#ft#sql#EnabledMakers() abort +    return ['sqlint'] +endfunction + +function! neomake#makers#ft#sql#sqlint() abort +    return { +        \ 'errorformat': +            \ '%E%f:%l:%c:ERROR %m,' . +            \ '%W%f:%l:%c:WARNING %m,' . +            \ '%C %m' +        \ } +endfunction +" vim: ts=4 sw=4 et | 
