Remove unnecessary cat command from less#lessc

This commit is contained in:
Marcus Zanona 2017-11-09 19:52:08 -02:00
parent 4bc31fcd18
commit 1ad7d5e6ca

View File

@ -4,7 +4,7 @@
call ale#Set('less_lessc_options', '') call ale#Set('less_lessc_options', '')
function! ale_linters#less#lessc#GetCommand(buffer) abort function! ale_linters#less#lessc#GetCommand(buffer) abort
return 'cat %t | lessc' return 'lessc'
\ . ' --no-color --lint --include-path=' . expand('%:p:h') \ . ' --no-color --lint --include-path=' . expand('%:p:h')
\ . ' ' . ale#Var(a:buffer, 'less_lessc_options') \ . ' ' . ale#Var(a:buffer, 'less_lessc_options')
\ . ' -' \ . ' -'