Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2013 12:20:00 +0200
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        Florent Peterschmitt <florent@peterschmitt.fr>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: vim syntax headers
Message-ID:  <20130902101959.GB56285@gahrfit.gahr.ch>
In-Reply-To: <52245CCA.7070201@peterschmitt.fr>
References:  <52245CCA.7070201@peterschmitt.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--LyciRD1jyfeSSjG0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2013-Sep-02, 11:39, Florent Peterschmitt wrote:
> Hi,
>=20
> I want to use this header (or footer) to tell vim showing syntax
> highliting on Apache conf files:
>=20
> # vim: syntax=3Dapache

try with

# vim: ft=3Dapache

>=20
> 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.
>=20
> Then if a :set syntax=3Dapache, syntax goes on.
>=20
> Here is vimrc I use:
> http://projet.beastie.eu/?p=3Ddesktop-config.git;a=3Dblob_plain;f=3Dvimrc=
;hb=3DHEAD
>=20
> Any idea?
>=20
> --=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 :)
>=20



--=20
Pietro Cerutti
The FreeBSD Project
gahr@FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp

--LyciRD1jyfeSSjG0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iEYEARECAAYFAlIkZk8ACgkQwMJqmJVx945tEwCffQpMlAOjyKEyfBIpTPmM23M2
YgsAoIntOlwgKaFyWumcqMy/vlJlw1F4
=VPYy
-----END PGP SIGNATURE-----

--LyciRD1jyfeSSjG0--



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