Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Sep 2013 11:39:22 +0200
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        freebsd-ports@freebsd.org
Subject:   vim syntax headers
Message-ID:  <52245CCA.7070201@peterschmitt.fr>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2SIGNQKEEJEOIMIELSXFR
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

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

# vim: syntax=3Dapache

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=3Dapache, syntax goes on.

Here is vimrc I use:
http://projet.beastie.eu/?p=3Ddesktop-config.git;a=3Dblob_plain;f=3Dvimrc=
;hb=3DHEAD

Any idea?

--=20
Florent Peterschmitt           | Please:
florent@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 :)


------enig2SIGNQKEEJEOIMIELSXFR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJSJFzLAAoJEFr01BkajbiBJQcQAKo2oZ2mX8nE0ybu3AHTcPrX
UUrvtVMTQHU4K2DxAfr7xbk1IkBEJOY2UsmtTWj0VNROqy1QqPX5/ig+u9aeuaSd
vO2DcDB8sEH57yBsjjN58b+YK5kLnHMsMkMSS7CmouGYyn/iO/zx8Za5x7tsFWxs
o36cvw/A281T4727lTzWUvKFy96NAWJY+TQGFtzX9WU2jds8uXZgPpKU7EH46BpN
ylywhmfJZVncKv5x7G9RQrLlYH/isDxRew9HyfINfrvcq7glUNVTUiobb0HdkXdV
NKh72fwLdn6A5CjPyB3Dm7gZqVbtWj1mLoNj2clpCeSnz5E0MQAVNAWmyHC3M4p0
s7sY6sH9/ro+pKviq2BlNq649/5oBuPMO/FxQ3LU8Ap1NKRN5coFgEPz3k63ZmTO
4JqfzAARVV3axZrJePYXKEiXtN376Lb8CEvSWaxGXFKqcKtqarQ8nC2L7K4iL+B7
gMwi4z4+WNAxOaPiUIrT3ZuADfLgMx0O8q7CB5gM+zO486VtzCeED3NbxbjiRBOG
r0wjP2sb50s+EHARSgmPC9+A9YXbGN1+JCh9+NywiSAqZmSDE3JSaeDYrTqnnRTK
OZex+r/gsWbpfzgFPLOiOLNsXKIxo6c4H02pfq7z2N6YbQVs1hpNR7vuhEm5LIMt
ckUZN+G1DgyoU/ibWGp0
=e6mW
-----END PGP SIGNATURE-----

------enig2SIGNQKEEJEOIMIELSXFR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52245CCA.7070201>