M. Edward (Ed) Borasky
8/4/2006 3:26:00 AM
Chad Perrin wrote:
> On Fri, Aug 04, 2006 at 12:23:07AM +0900, Logan Capaldo wrote:
>
>> On Aug 3, 2006, at 10:57 AM, M. Edward (Ed) Borasky wrote:
>>
>>
>>> Logan Capaldo wrote:
>>>
>>>> I'm running vim 7, I do not see this extra information in the
>>>> leftmost two columns. What do you see there?
>>>>
>
> Ditto -- I'm using 7, and I don't see anything like that.
>
>
>
>>> '>def my-first-ruby-program
>>> puts "What's that junk in the left two columns?"
>>> 0>end
>>> ~
>>>
>> [snip]
>>
>> It _almost_ looks like fold indicators
>>
>
> I really don't think that's what it is. I've seen it somewhere before,
> but I'm drawing a blank right now. Regardless, it seems that there's a
> nondefault setting that the rest of us don't have. Perhaps it has
> something to do with the way Vim was installed in this case, if it
> hasn't been set explicitly -- or perhaps there have been some
> configuration changes made via an example .vimrc found on the web, or
> something like that. I can only guess.
>
>
>
>> What happends if you do :set foldcolumn=0
>>
>
> Simply entering
> :set foldcolumn
> should tell you what is currently set for the foldcolumn option.
>
> Unfortunately, Google won't let me search for the greater than symbol,
> and I'm having a tough time finding something relevant in the Vim
> documentation on this computer, so I'm not getting very far in
> attempting to figure out what's going on. Perhaps we could be of more
> help if we saw the /etc/vim/vimrc, /usr/share/vim/vimrc, and
> of course ~/.vimrc files. Erm. Assuming this is on Linux. What's the
> operating system? I suppose I should have asked that first.
>
>
Gentoo Linux and CygWin are both doing it. I haven't tried the Windows
one and I don't have access to a Mac. I think I'm going to try the Vim
web site and see if they have a mailing list.
It has something to do with syntax coloring and may only happen with
some languages. When I first open a file, it's not there, but a few
seconds into the edit, the colors and the two mysterious columns appear.
IIRC it happens with Ruby and Perl, but not with R. And when I turn
":syn off" it doesn't go away.
Anyhow, I was hoping someone else here at least knew what it was called.
I promised myself I'd learn "emacs" some day anyhow ... :)