You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Buddy Sandidge 981dd2c12a Merge commit 'f606d905f249fc07a61083dafba49c9adec9589b' as 'vim/bundle/puppet' 10 years ago
..
after/ftplugin Merge commit 'f606d905f249fc07a61083dafba49c9adec9589b' as 'vim/bundle/puppet' 10 years ago
ftdetect Merge commit 'f606d905f249fc07a61083dafba49c9adec9589b' as 'vim/bundle/puppet' 10 years ago
ftplugin Merge commit 'f606d905f249fc07a61083dafba49c9adec9589b' as 'vim/bundle/puppet' 10 years ago
indent Merge commit 'f606d905f249fc07a61083dafba49c9adec9589b' as 'vim/bundle/puppet' 10 years ago
syntax Merge commit 'f606d905f249fc07a61083dafba49c9adec9589b' as 'vim/bundle/puppet' 10 years ago
README.md Merge commit 'f606d905f249fc07a61083dafba49c9adec9589b' as 'vim/bundle/puppet' 10 years ago

README.md

vim-puppet

Make vim more Puppet friendly!

Provides

  • Formatting based on the latest Puppetlabs Style Guide
  • Syntax highlighting
  • Automatic => alignment (when the tabular plugin is also installed)
    • If you don't like that, add let g:puppet_align_hashes = 0 to your vimrc.
  • Doesn't require a bloated JRE
  • Doesn't take minutes to open

Additional useful plugins

Installation

If you're using pathogen to manage your vim modules (and if you're not, why aren't you), you can simply add this as a submodule in your ~/.vim/bundle/ directory.

My entire home directory is a git repository, so for me it's simply a case of

$ git submodule add -f git://github.com/rodjek/vim-puppet.git .vim/bundle/puppet

If you're not using pathogen, you can just manually place the files in the appropriate places under ~/.vim/