I'm quite new to Vimscript and editing
./node_modules/.bin/ (the command
npm bin returns this path). In my search for how to do this, I came across GitHub issues like this, using the following Vimscript variable and assignment (or something like it; there are several instances on that page):
However, in my attempts to use this construct, it wouldn't "work";
eslint isn't found, and running
:SyntasticInfo shows that there are no checkers available for
.jsx files. However, when I adapted this to the following...
... it works! Could someone explain to me, this noob, why the first construct doesn't work, what I could be missing here? Really wanting to learn!