Date: Sat, 28 Jul 2007 14:26:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Michael Worobcuk <mail@michaelworobcuk.de> Cc: freebsd-stable@freebsd.org, Christian Walther <cptsalek@gmail.com> Subject: Re: syntax highlighting of rc.conf with vim Message-ID: <46AB35F9.7060302@quip.cz> In-Reply-To: <CFB247C4-B151-405C-BF1F-0065A6A5C31A@michaelworobcuk.de> References: <9C496190-E2DE-4015-A340-CA0062B6EF9E@michaelworobcuk.de> <14989d6e0707280355j1c808a95o52ab8d4b012660c2@mail.gmail.com> <CFB247C4-B151-405C-BF1F-0065A6A5C31A@michaelworobcuk.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Worobcuk wrote: > > Am 28.07.2007 um 12:55 schrieb Christian Walther: > >> Hi Michael, >> >> On 28/07/07, Michael Worobcuk <mail@michaelworobcuk.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AB35F9.7060302>