From owner-freebsd-ports@FreeBSD.ORG Thu Apr 7 12:56:27 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D92B106566B for ; Thu, 7 Apr 2011 12:56:27 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.49.45]) by mx1.freebsd.org (Postfix) with ESMTP id EDF598FC16 for ; Thu, 7 Apr 2011 12:56:26 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id 2D6A35C43; Thu, 7 Apr 2011 08:57:12 -0400 (EDT) Date: Thu, 7 Apr 2011 08:57:12 -0400 From: Wesley Shields To: David O'Brien Message-ID: <20110407125712.GC46021@atarininja.org> References: <4D8AB6E9.9030804@gmail.com> <20110406173353.GC2067@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110406173353.GC2067@dragon.NUXI.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, Niek Dekker Subject: Re: FreeBSD Port: vim-lite-7.3.121 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 12:56:27 -0000 On Wed, Apr 06, 2011 at 10:33:53AM -0700, David O'Brien wrote: > 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? I get a similar problem when editing python files. To trigger it all I have to do is have "syntax on" in my .vimrc, then edit a file with the .py extension (it can be a totally new file). The first few errors, and there are more, are: Error detected while processing /usr/local/share/vim/vim73/syntax/python.vim: line 86: E475: Invalid argument: pythonFunction line 87: E10: \ should be followed by /, ? or & line 93: E475: Invalid argument: pythonString line 94: E10: \ should be followed by /, ? or & line 95: E10: \ should be followed by /, ? or & line 96: -- WXS