ale/ale_linters/sass/sasslint.vim

15 lines
385 B
VimL
Raw Normal View History

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