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
it in /usr/share/vim/vimfiles/syntax/perl.vim.  That directory should already
be scanned by default ... check the value of 'runtimepath' to be sure.
How to check?

        :set runtimepath?

See the default for it at

        :help 'runtimepath'


Anyway, I think I'll settle to put it in ~/.vim/syntax.
I'm recompiling vim 7.0.17 now, and will install the current syntax
file.
The indenting works fine for me, without installing any new indent scripts. Have you enabled 'autoindent' and/or 'smartindent'?

Yes. And I didn't change my .vimrc, which works OK with 6.4.

Thanks.

Regards,

Jorge

Best regards,
Tony.

Reply via email to