From owner-freebsd-stable@FreeBSD.ORG Sat Jul 28 12:43:56 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 305C616A417 for ; Sat, 28 Jul 2007 12:43:56 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id 06C9513C46B for ; Sat, 28 Jul 2007 12:43:53 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 915DC19E02A; Sat, 28 Jul 2007 14:26:00 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id 90AC719E027; Sat, 28 Jul 2007 14:25:57 +0200 (CEST) Message-ID: <46AB35F9.7060302@quip.cz> Date: Sat, 28 Jul 2007 14:26:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Michael Worobcuk References: <9C496190-E2DE-4015-A340-CA0062B6EF9E@michaelworobcuk.de> <14989d6e0707280355j1c808a95o52ab8d4b012660c2@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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:43:56 -0000 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. Miroslav Lachman