Skip to content

Commit

Permalink
'cd' isn't a native command on windows... had to invoke jslint comman…
Browse files Browse the repository at this point in the history
…d via 'cmd.exe /c'
  • Loading branch information
thetoast committed Oct 23, 2012
1 parent 8e28c5e commit 3771515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/javascript/jslint.vim
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if has('win32')
let s:plugin_path = substitute(s:plugin_path, '/', '\', 'g')
endif
if has('win32')
let s:cmd = '"cd /d "' . s:plugin_path . '" && ' . s:cmd . ' "' . s:plugin_path . 'runjslint.' . s:runjslint_ext . '""'
let s:cmd = 'cmd.exe /C "cd /d "' . s:plugin_path . '" && ' . s:cmd . ' "' . s:plugin_path . 'runjslint.' . s:runjslint_ext . '""'
else
let s:cmd = 'cd "' . s:plugin_path . '" && ' . s:cmd . ' "' . s:plugin_path . 'runjslint.' . s:runjslint_ext . '"'
endif
Expand Down

0 comments on commit 3771515

Please sign in to comment.