jshint.vim icon indicating copy to clipboard operation
jshint.vim copied to clipboard

Error detected while processing function <SNR>38_JSHint

Open drawde727 opened this issue 8 years ago • 4 comments

similar to #57, but with a different SNR Error detected while processing function <SNR>38_JSHint: line 84: E927: Invalid action: '' also seems to make editing buggy, when I write a file, it leaves a 'w' in place of whatever the cursor was under, doesn't replace the actual character, but it started happening after install.

drawde727 avatar Jul 17 '16 04:07 drawde727

this seems to be fixed by modifying this line https://github.com/wookiehangover/jshint.vim/blob/b7eee8428170eb280281ee1451a07a4bbb03e859/ftplugin/javascript/jshint.vim#L219

to call setqflist(b:qf_list, ' ')

(notice the extra space inside the quotes).

flaviogrossi avatar Sep 08 '16 07:09 flaviogrossi

this error seems to be back, the extra space was removed in master https://github.com/wookiehangover/jshint.vim/blob/master/ftplugin/javascript/jshint.vim#L219

tolry avatar Feb 16 '17 17:02 tolry

Adding the space did the trick for me too

millerdrew avatar Feb 27 '17 01:02 millerdrew

The above fix works for me too! Thanks Miller and Josh!!!

dhilst avatar Nov 16 '17 18:11 dhilst