Re: syntax borked

2006-09-05 Thread Jorge Almeida
On Tue, 5 Sep 2006, A.J.Mechelynck wrote: The gentoo package managing system need not be aware of your own-compiled Vim, any more that my SuSE package managing system is aware of my Vim 7.0.83 (e.g., it won't list it if I do rpm -qa |grep vim). But I suppose I would need to recompile vim

Re: syntax borked

2006-09-05 Thread Jorge Almeida
On Tue, 5 Sep 2006, Peter Hodge wrote: Hello Jorge, The problem is solved if you change this line: 768 sub reloadlist{ to this: 768 sub reloadlist { It looks as though it is a bug in the perl syntax file. You should send the maintainer an email with your perl code snippet,

Re: syntax borked

2006-09-05 Thread Peter Hodge
--- Jorge Almeida [EMAIL PROTECTED] wrote: It appears there is a bug in the syntax file (see reply by Peter Hodge). This brings up the question: How to install a syntax file without poluting the distribution system? In gentoo, the file is (for version 6.4):

Re: syntax borked

2006-09-05 Thread Jorge Almeida
On Tue, 5 Sep 2006, Peter Hodge wrote: Well, there was a bug in the older syntax file I used (the one from 2005), but the newer syntax file I downloaded is fine. If you don't want to put the new syntax file in your home directory (~/.vim/syntax/perl.vim), you can also put it in

Re: syntax borked

2006-09-05 Thread A.J.Mechelynck
Jorge Almeida wrote: On Tue, 5 Sep 2006, A.J.Mechelynck wrote: The gentoo package managing system need not be aware of your own-compiled Vim, any more that my SuSE package managing system is aware of my Vim 7.0.83 (e.g., it won't list it if I do rpm -qa |grep vim). But I suppose I would need

Re: syntax borked

2006-09-05 Thread A.J.Mechelynck
Jorge Almeida wrote: On Tue, 5 Sep 2006, Peter Hodge wrote: Well, there was a bug in the older syntax file I used (the one from 2005), but the newer syntax file I downloaded is fine. If you don't want to put the new syntax file in your home directory (~/.vim/syntax/perl.vim), you can also put

Re: syntax borked

2006-09-05 Thread Jorge Almeida
On Tue, 5 Sep 2006, A.J.Mechelynck wrote: Jorge Almeida wrote: On Tue, 5 Sep 2006, Peter Hodge wrote: Best regards, Tony. Thanks again for your help. Regards, Jorge

syntax borked

2006-09-04 Thread Jorge Almeida
I've upgraded to vim-7.0.17. I don't know which version I had before, probably 6.4. I run linux (gentoo). After upgrading, syntax for perl seems to have gone to the trash. Colours appear chaotic and pressing 'o' in normal mode opens a new line but without the proper identation. How can such a

Re: syntax borked

2006-09-04 Thread Mikolaj Machowski
Dnia poniedziałek, 4 września 2006 16:44, Jorge Almeida napisał: I've upgraded to vim-7.0.17. I don't know which version I had before, probably 6.4. I run linux (gentoo). After upgrading, syntax for perl seems to have gone to the trash. Colours appear chaotic and pressing 'o' in normal mode

Re: syntax borked

2006-09-04 Thread Jorge Almeida
On Mon, 4 Sep 2006, Mikolaj Machowski wrote: For syntax: you probably have some personalized syntax files which clash with default Vim7 ones. Changes required with spell checking could cause that effect. Check your .vim directory (and .vimrc file) and remove/comment all your definitions for

Re: syntax borked

2006-09-04 Thread A.J.Mechelynck
Jorge Almeida wrote: I've upgraded to vim-7.0.17. I don't know which version I had before, probably 6.4. I run linux (gentoo). After upgrading, syntax for perl seems to have gone to the trash. Colours appear chaotic and pressing 'o' in normal mode opens a new line but without the proper

Re: syntax borked

2006-09-04 Thread Jorge Almeida
On Mon, 4 Sep 2006, A.J.Mechelynck wrote: I already downgraded to 6.4. Vim is just not a package I can afford to do without... Of course I hope to be able to upgrade someday. There are several things you can do, independently of each other: - Upgrade to 7.0.083 Not a good option for me.

Re: syntax borked

2006-09-04 Thread A.J.Mechelynck
Jorge Almeida wrote: On Mon, 4 Sep 2006, A.J.Mechelynck wrote: I already downgraded to 6.4. Vim is just not a package I can afford to do without... Of course I hope to be able to upgrade someday. There are several things you can do, independently of each other: - Upgrade to 7.0.083 Not a

Re: syntax borked

2006-09-04 Thread Jorge Almeida
On Mon, 4 Sep 2006, A.J.Mechelynck wrote: I don't know about gentoo, but packaged distributions are always several steps behind the real world. The 66 patches between 7.0.17 and 7.0.83 don't make the latter bleeding-edge and the former stable; rather, they make the latter up-to-date and the

Re: syntax borked

2006-09-04 Thread A.J.Mechelynck
Jorge Almeida wrote: On Mon, 4 Sep 2006, A.J.Mechelynck wrote: I don't know about gentoo, but packaged distributions are always several steps behind the real world. The 66 patches between 7.0.17 and 7.0.83 don't make the latter bleeding-edge and the former stable; rather, they make the latter

Re: syntax borked

2006-09-04 Thread Peter Hodge
Hello Jorge, The problem is solved if you change this line: 768 sub reloadlist{ to this: 768 sub reloadlist { It looks as though it is a bug in the perl syntax file. You should send the maintainer an email with your perl code snippet, and he should be able to fix it. It probably never

Re: syntax borked

2006-09-04 Thread Peter Hodge
--- A.J.Mechelynck [EMAIL PROTECTED] wrote: It doesn't. After pasting into an empty buffer via the clipboard, block-deleting the column of numbers (from the left margin up to, but not including, the s in sub at top and the last } at bottom) and setting 'filetype' to perl, I see all