What OS are you on?
If you are on OSX is this happening with macvim?
Are you using the embedded gvim in eclipse or this happening with
external vim instances?
What version of vim are you using (please post the first few lines of
:version)?
Does the problem still occur if you run vim with the minimal settings?
$ vim -u NONE -U NONE --cmd \
"set nocp | sy on | filetype plugin indent on | ru plugin/eclim.vim"
> It's just a visual glitch---if I move the cursor around the glitch
> eventually goes away. Sometimes, however, it never seems to go away.
>
> Here I copied the text directly from VIM. I only typed line 36
> System.out.println() code once, but when I went to save the file with
> the missing semi-colon, this happened.
>
> 32 this.funcs =
> funcs;
> 33 this.terms =
> terms;
> 34 this.root = recursiveGrow(maxDepth,
> method);
>
> 35
> >> 36 System.out.println("Testing eclimd glitch!")
> >> 36 System.out.println("Testing eclimd glitch!")
>
> 38
> 39 public int getResult(GameState state)
> {
> 40 return
> root.interpretForResult(state);
> 41 }
>
> After moving the cursor around a bit it goes away (even before re-
> saving.) But it's pretty annoying and sometimes the duplicate lines
> don't go away for a long time.
You can always force vim to redraw using :redraw! or Ctrl+l.
--
eric
Ah, yeah I could see that potentially causing rendering issues. Vim
does have a few quirks with rendering occasionally, but luckily they
are rare.
> In any case, it's gone away now. Man, that's ironic that I was testing
> things with the Eclim logs and that was also the problem in this
> case!!
>
> Thanks for the suggestions, I'll keep that command to get a minimal
> setup in mind whenever I run into a problem with vim.
>
> ~Charles
Glad to hear you got it all squared away!
--
eric