Re: E108: No such variable: "b:current_syntax" (I'm an idiot)

2006-06-06 Thread Benji Fisher
On Mon, Jun 05, 2006 at 08:31:41PM -0400, Thomas Schumm wrote:
> On Monday 05 June 2006 08:01 pm, you wrote:
> > So the question is: what have you been doing with
> > $VIMRUNTIME/syntax/css.vim ?
> 
> Nothing, unless my distro has been doing it behind my back.  The only 
> modifications I've made to the runtime files were to squash that error 
> message.  The reason I'm asking is cause I know I should't be modifying them.
> 
> I did however find some files in my ~/.vim/syntax/ directory that I must have 
> written some time ago when I was extremely drunk, because I have absolutely 
> no recollection of writing them, even though they are full of my comments.  
> Stubbing those out disappears the error.
> 
> I'll have to try to figure out what the heck I was trying to do with
> them, but 
> that's a personal problem and I don't think I need to waste any more of the 
> list's time.  :-)

 Just for future reference, you can use

:scriptnames

to help diagnose this sort of problem.

HTH --Benji Fisher


Re: E108: No such variable: "b:current_syntax" (I'm an idiot)

2006-06-05 Thread Thomas Schumm
On Monday 05 June 2006 08:01 pm, you wrote:
> So the question is: what have you been doing with
> $VIMRUNTIME/syntax/css.vim ?

Nothing, unless my distro has been doing it behind my back.  The only 
modifications I've made to the runtime files were to squash that error 
message.  The reason I'm asking is cause I know I should't be modifying them.

I did however find some files in my ~/.vim/syntax/ directory that I must have 
written some time ago when I was extremely drunk, because I have absolutely 
no recollection of writing them, even though they are full of my comments.  
Stubbing those out disappears the error.

I'll have to try to figure out what the heck I was trying to do with them, but 
that's a personal problem and I don't think I need to waste any more of the 
list's time.  :-)

-- 
Tom Schumm
http://www.phong.org/