From owner-freebsd-stable@FreeBSD.ORG Sat Jul 28 12:31:30 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C8FD16A417 for ; Sat, 28 Jul 2007 12:31:30 +0000 (UTC) (envelope-from mail@michaelworobcuk.de) Received: from smtp5.srv.eunet.at (smtp5.srv.eunet.at [193.154.160.227]) by mx1.freebsd.org (Postfix) with ESMTP id 15D6313C457 for ; Sat, 28 Jul 2007 12:31:29 +0000 (UTC) (envelope-from mail@michaelworobcuk.de) Received: from [85.88.27.204] (p54885CE6.dip.t-dialin.net [84.136.92.230]) by smtp5.srv.eunet.at (Postfix) with ESMTP id ECEBB13A3D3; Sat, 28 Jul 2007 14:31:23 +0200 (CEST) In-Reply-To: <46AB35F9.7060302@quip.cz> References: <9C496190-E2DE-4015-A340-CA0062B6EF9E@michaelworobcuk.de> <14989d6e0707280355j1c808a95o52ab8d4b012660c2@mail.gmail.com> <46AB35F9.7060302@quip.cz> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <89151646-4FF3-41EA-98FD-A4DAD89BC93E@michaelworobcuk.de> Content-Transfer-Encoding: 7bit From: Michael Worobcuk Date: Sat, 28 Jul 2007 14:31:20 +0200 To: Miroslav Lachman <000.fbsd@quip.cz> X-Mailer: Apple Mail (2.752.3) Cc: freebsd-stable@freebsd.org, Christian Walther Subject: Re: syntax highlighting of rc.conf with vim X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 12:31:30 -0000 Am 28.07.2007 um 14:26 schrieb Miroslav Lachman: > Michael Worobcuk wrote: > >> Am 28.07.2007 um 12:55 schrieb Christian Walther: >>> Hi Michael, >>> >>> On 28/07/07, Michael Worobcuk wrote: >>> >>>> Hi, >>>> I am using vim-7.1.18. >>>> Everything works fine except the syntax highlighting of rc.conf. >>>> The problem is that vim does no highlighting for the rc.conf but >>>> other .conf files are highlighted es expected. >>>> So I came to the conclusion that the syntax file for .conf would >>>> probably be ok. >>>> I also tried to use vim 6.x and copy the syntax files from a >>>> machine >>>> were everything works fine. But the problem did not disappear. >>>> Does anybody have a clou ? >>>> >>> Is it possible that it's something related to your rc.conf? >>> What does the first line read, "#!/bin/sh"? >> No, the first line of /etc/rc.conf starts with the hostname. > > If your rc.conf file will start with comment character (#) then > syntax highlight will be OK. WUOUf, that is a pretty trick. Thanks very much. It works.