which jshint returns
which vim and
which gvim return
/usr/bin/vim and /usr/bin/gvim` respectively.
If I open a JS file from
myUser's terminal, Syntastic works fine - :SyntasticInfo returns
However, if I open the same file with GVim, JSHint is not loaded.
This makes sense given that if I run
:!which jshint from vim in the terminal, I get a path and if I run it from GVim I get
shell returned 1.
I poked around and noticed that JsHint is not loaded in command line Vim if I
sudo su root and then run
vim. Conversely, JSHint is loaded if I open GVim as my current user
gksudo -u uname -l "gvim".
I'm assuming this means that I somehow need to get
/home/myUser/local/bin/jshint on my root
$PATH, but I don't know if this is possible or recommended.