I have an issue where in MacVim, I don't get any syntastic/eslint related functionality. When I run
!which eslint in macvim, I get "eslint not found" - eslint is definitely installed.
If I run
!which eslint on iTerm, I get the correct location of eslint (
It looks like MacVim is not aware of my
$PATH. I didn't set anything specifically. I am also using zsh, if that makes a difference.
How do I fix this?
'shellcmdflags'so that it runs a login shell and sources
which eslintworking now with a hardcoded PATH :)
.zshenvfor this reason - it affects every invocation of zsh.