summaryrefslogtreecommitdiff
path: root/autoload/ale/fixers/stylelint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/fixers/stylelint.vim')
-rw-r--r--autoload/ale/fixers/stylelint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/fixers/stylelint.vim b/autoload/ale/fixers/stylelint.vim
index 6f4cf177..0caab802 100644
--- a/autoload/ale/fixers/stylelint.vim
+++ b/autoload/ale/fixers/stylelint.vim
@@ -17,8 +17,8 @@ function! ale#fixers#stylelint#Fix(buffer) abort
let l:options = ale#Var(a:buffer, 'stylelint_options')
return {
- \ 'command': ale#path#BufferCdString(a:buffer)
- \ . ale#node#Executable(a:buffer, l:executable)
+ \ 'cwd': '%s:h',
+ \ 'command': ale#node#Executable(a:buffer, l:executable)
\ . ' %t'
\ . ale#Pad(l:options)
\ . ' --fix',