Re: syntax highlighting of rc.conf with vim




Am 28.07.2007 um 12:55 schrieb Christian Walther:

Hi Michael,

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

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: (G)Vim Oddity
    ... The syntax highlighting ... but I do not know much about gvim highlighting so I ... > " Use Vim settings, rather then Vi settings. ... > " Also load indent files, ...
    (Debian-User)
  • Re: syntax highlighting of rc.conf with vim
    ... Everything works fine except the syntax highlighting of rc.conf. ... So I came to the conclusion that the syntax file for .conf would probably ...
    (freebsd-stable)
  • syntax highlighting of rc.conf with vim
    ... 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. ...
    (freebsd-stable)
  • Re: syntax highlighting of rc.conf with vim
    ... Everything works fine except the syntax highlighting of rc.conf. ... So I came to the conclusion that the syntax file for .conf would ... I also tried to use vim 6.x and copy the syntax files from a machine ...
    (freebsd-stable)
  • RE: vim vs. vi
    ... Put "syntax off" in .vimrc in your login directory. ... But I found I rather liked the highlighting if I ran with a light background ... Subject: vim vs. vi ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)