[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vim colour syntax



On Sun, Feb 04, 2007 at 07:42:28PM -0500 or thereabouts, cga2000 wrote:

[ ...]

> In vim, you could try:
> 
> :colorscheme

That didn't produce anything.

I'm been playing around with this on my own a bit. When I ':syntax enable' I'm
returned;
	
	Error detected while processing /usr/share/vim/vim70/syntax/syntax.vim:
	line   42:
	E216: No such group or event: filetypedetect BufRead

So visiting '/usr/share/vim/vim70/syntax/syntax.vim' the lines from 42
and immediately above are;

	" Execute the syntax autocommands for the each buffer.
	" If the filetype wasn't detected yet, do that now.
	" Always do the syntaxset autocommands, for buffers where the 'filetype'
	" already was set manually (e.g., help buffers).
	doautoall syntaxset FileType
	if !s:did_ft
	  doautoall filetypedetect BufRead

Anyone have any ideas, regarding this specific error in terms of colour syntax
not showing?

Update:

Actually, I just commented it out. No difference (other than no error). I guess
I'll ask on a specialized list.

-- 
Regards
Stephen A.
                                                   
Encrypted/Signed e-mail accepted (GPG or PGP) -- Key ID: 978BA045
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
At once it struck me what quality went to form a man of achievement,
especially in literature, and which Shakespeare possessed so enormously
-- I mean negative capability, that is, when a man is capable of being
in uncertainties, mysteries, doubts, without any irritable reaching
after fact and reason.
		-- John Keats
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Attachment: signature.asc
Description: Digital signature


Reply to: