jshint.vim
jshint.vim copied to clipboard
Rendering Bug
Problem
After toggling between insert and command mode in Vim (via iTerm. MacVim does not have this problem) for any *.js
file, I get weird refreshing errors. The keys that I hit in command mode are drawn to the screen. This is only a problem for *.js
files. The problem goes away when I remove the jshint plugin. See image below:

NOTE: Those characters are not actually inserted into the file, but only rendered that way. After pushing vim to the background using ctrl+z
, then bringing it back to the foreground using fg
on the terminal, vim refreshes the page and those letters are gone.
Any ideas as to why this is happening?
+1 I'm noticing this as well and was able to narrow it down to jshint.vim. Turning off this plugin removes these artifacts from happening.
+1 And I'm using CTRL + L key when this situation occurs. It will re-render the vim screen.
What versions are you seeing this on?
+1 .. this is vim 7.3 and pulled the plugin down via vundle yesterday 9-jan-2017 . See the spurious j and w characters backlit in blue.
thanks @jaesok-park for the control-l suggestion.

+1 - I'm seeing this issue on VIM 7.4 on Linux and 7.3 on Mac. CTRL + L helps.