Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2011 10:33:53 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Niek Dekker <niekdekker@gmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: vim-lite-7.3.121
Message-ID:  <20110406173353.GC2067@dragon.NUXI.org>
In-Reply-To: <4D8AB6E9.9030804@gmail.com>
References:  <4D8AB6E9.9030804@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 23, 2011 at 11:13:45PM -0400, Niek Dekker wrote:
> Using the "syntax on" command in .vimrc. When opening a php file in Vim,
> a lot of errors are being displayed. The errors are caused by line
> continuation characters in /usr/local/share/vim/vim73/syntax/php.vim.

Hi I really don't know anything about PHP.  Can you point out the line
number (and line content) of an example of this in
/usr/local/share/vim/vim73/syntax/php.vim?

I found /usr/local/share/doc/antiword/antiword.php on my system and am
assuming it is an OK example of a PHP file.  Syntax colouring works OK
with Vim 7.3.121 (non-lite).  Have you tried the non-lite build?


> Somehow, in FreeBSD Vim does not seem to recognize the line continuation
> character and complains about it, resulting in errors when opening a
> syntax file containing these characters.
> 
> What is the solution to this, if you know any?

So that I know what to look at, can you also send the error messages you
are seeing (and any required file(s) to reproduce the issue?

-- 
-- David  (obrien@FreeBSD.org)
Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?
Let's not play "Jeopardy-style quoting"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110406173353.GC2067>