ale/ale_linters/sass/sasslint.vim

15 lines
385 B
VimL
Raw Normal View History

2016-10-03 14:02:21 -04:00
" Author: KabbAmine - https://github.com/KabbAmine
if exists('g:loaded_ale_linters_sass_sasslint')
2016-10-03 14:02:21 -04:00
finish
endif
let g:loaded_ale_linters_sass_sasslint = 1
2016-10-03 14:02:21 -04:00
call ale#linter#Define('sass', {
\ 'name': 'sasslint',
2016-10-03 14:02:21 -04:00
\ 'executable': 'sass-lint',
\ 'command': g:ale#util#stdin_wrapper . ' .sass sass-lint -v -q -f compact',
\ 'callback': 'ale#handlers#HandleCSSLintFormat',
2016-10-03 14:02:21 -04:00
\})