Re: syntax highlighting of rc.conf with vim
- From: Michael Worobcuk <mail@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 14:31:20 +0200
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,No, the first line of /etc/rc.conf starts with the hostname.
On 28/07/07, Michael Worobcuk <mail@xxxxxxxxxxxxxxxxxx> wrote:
Hi,Is it possible that it's something related to your rc.conf?
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 ?
What does the first line read, "#!/bin/sh"?
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.
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- References:
- syntax highlighting of rc.conf with vim
- From: Michael Worobcuk
- Re: syntax highlighting of rc.conf with vim
- From: Christian Walther
- Re: syntax highlighting of rc.conf with vim
- From: Michael Worobcuk
- Re: syntax highlighting of rc.conf with vim
- From: Miroslav Lachman
- syntax highlighting of rc.conf with vim
- Prev by Date: Re: powerd freeze with amd 5000 X2 but not with lower cpus
- Next by Date: Re: syntax highlighting of rc.conf with vim
- Previous by thread: Re: syntax highlighting of rc.conf with vim
- Next by thread: Re: syntax highlighting of rc.conf with vim
- Index(es):
Relevant Pages
|
|