Last Updated: February 25, 2016
·
1.115K
· ihcsim

vim Plugin For Puppet Scripts

Found a handy vim plugin which helps me with writing puppet scripts. (All credits to original author. ) Key features include:

  • Formatting based on the latest Puppetlabs Style Guide
  • Syntax highlighting
  • Automatic => alignment

You can install it either using pathogen, or just copy-and-paste the folders and files as-is into your ~/.vim folder.

Note that in order for the automatic => alignment to work, you will need:

  • The tabular plugin (again, install either using pathogen, or copy-and-paste as-is), and
  • Include filetype plugin indent in your ~/.vimrc file