Reputation: 65
I am using Ubuntu 14.04.
I installed jshint with
sudo npm install jshint -g
which jshint
shows /usr/local/bin/jshint
Then I added Plug 'https://github.com/walm/jshint.vim.git' in the .vimrc file in ~. I am using vim-plug.
Now, when opening a js-File, such as
vim test.js
errors are not detected.
:JSHint
results in "Not an editor command: JSHint"
Earlier pathogen seemed to be working fine with JSHint.
Upvotes: 0
Views: 105
Reputation: 1581
Change this Plug 'https://github.com/walm/jshint.vim.git'
to Plug 'walm/jshint.vim'
Run :PlugInstall
And test if it the plugin is detected
Upvotes: 1