diff --git a/plugin/defaults.vim b/plugin/defaults.vim index 39db708..4c17350 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -188,6 +188,9 @@ if !exists('g:formatdef_eslint_local') let l:prog = findfile('node_modules/.bin/eslint', l:path.";") if empty(l:prog) let l:prog = findfile('~/.npm-global/bin/eslint') + if empty(l:prog) + let l:prog = findfile('/usr/local/bin/eslint') + endif endif "initial