syntax highlighting of rc.conf with vim

Michael Worobcuk mail at michaelworobcuk.de
Sat Jul 28 11:11:57 UTC 2007


Am 28.07.2007 um 12:55 schrieb Christian Walther:

> Hi Michael,
>
> On 28/07/07, Michael Worobcuk <mail at 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.



More information about the freebsd-stable mailing list