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

Rendering Bug

Open DoubleOTheven opened this issue 8 years ago • 5 comments

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:

vim_refresh_error_for_js_files

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?

DoubleOTheven avatar Apr 11 '16 18:04 DoubleOTheven

+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.

sunils34 avatar Jun 26 '16 17:06 sunils34

+1 And I'm using CTRL + L key when this situation occurs. It will re-render the vim screen.

jaeseok-park avatar Jun 27 '16 02:06 jaeseok-park

What versions are you seeing this on?

eddiemonge avatar Jul 11 '16 17:07 eddiemonge

+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.

screen shot 2017-01-10 at 1 06 00 pm

SeanFelipe avatar Jan 10 '17 16:01 SeanFelipe

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

brandonSc avatar Apr 11 '17 14:04 brandonSc