vim YAML highlighting

Jacob Albretsen jakea at xmission.com
Mon Dec 17 15:05:23 MST 2012


On Monday, December 17, 2012 10:15:56 AM Thomas S Hatch wrote:
> If you don't mind my asking, what kind of project are you creating that
> requires a lot of yaml files?

Whatever it is, I bet it's Salty.

> On Mon, Dec 17, 2012 at 10:13 AM, Daniel Fussell <dfussell at byu.edu> wrote:
> > On 12/15/2012 08:08 AM, Aaron Toponce wrote:
> > > On Thu, Dec 13, 2012 at 05:50:45PM -0700, Daniel Fussell wrote:
> > >> Nevermind, I just found it.  My modeline setting filetype=yaml was
> > >> after
> > >> the 5th line.
> > > 
> > > As noted in /usr/share/vim/vim73/debian.vim, Debian disables executing
> > 
> > the
> > 
> > > modeline, citing security concerns. So, for Debian, you must ":set
> > 
> > modline"
> > 
> > > in your vimrc if you want it.
> > > 
> > > FYI.
> > 
> > Is there a better way to help keep tabbing and spacing stays correct and
> > consistent, especially in team-oriented projects?  I've tried using
> > beautifiers before and had some problems with the resulting code that
> > took a while to sort out.



More information about the PLUG mailing list