Date: Mon, 2 Sep 2013 12:27:12 +0200 From: Serpent7776 <serpent7776@gmail.com> To: freebsd-ports@freebsd.org Subject: Re: vim syntax headers Message-ID: <20130902122712.249b1712@gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, > 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? Try this: # vim: set syntax=apache -- " " Serpent "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130902122712.249b1712>