On 2013-Sep-02, 11:39, Florent Peterschmitt wrote: > Hi, > > I want to use this header (or footer) to tell vim showing syntax > highliting on Apache conf files: > > # vim: syntax=apache
try with # vim: ft=apache > > If put at head of file, only the comment will be colored, not the text. > If put at the end of fiel, nothing is colored. > > Then if a :set syntax=apache, syntax goes on. > > Here is vimrc I use: > http://projet.beastie.eu/?p=desktop-config.git;a=blob_plain;f=vimrc;hb=HEAD > > Any idea? > > -- > Florent Peterschmitt | Please: > flor...@peterschmitt.fr | * Avoid HTML/RTF in E-mail. > +33 (0)6 64 33 97 92 | * Send PDF for documents. > http://florent.peterschmitt.fr | * Trim your quotations. Really. > Proudly powered by Open Source | Thank you :) > -- Pietro Cerutti The FreeBSD Project g...@freebsd.org PGP Public Key: http://gahr.ch/pgp
pgpWadfH4SbuS.pgp
Description: PGP signature