Re: syntax highlighting of rc.conf with vim



Am 28.07.2007 um 14:26 schrieb Miroslav Lachman:
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.

Also you can put in the comment highlight type:
# vim: filetype=sh

--
WBR, Andrey V. Elsukov
_______________________________________________
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: syntax highlighting of rc.conf with vim
    ... syntax highlight will be OK. ... talking about is called vim modeline, and there's quite a big warning ... historic security problems. ... explicitly mention the historic issues with modeline in the port. ...
    (freebsd-stable)
  • Syntax highlight for all Files
    ... I ask my self if it possible to have syntax highlight for all files. ... Is it possible to configure emacs with the same behavior as vim. ... Best Regards ...
    (comp.emacs)