vim syntax headers

Florent Peterschmitt florent at peterschmitt.fr
Mon Sep 2 09:35:50 UTC 2013


Hi,

I want to use this header (or footer) to tell vim showing syntax
highliting on Apache conf files:

# vim: syntax=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:
florent at 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 :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130902/39191b88/attachment.sig>


More information about the freebsd-ports mailing list