Turn on puppet syntax highlight in vim

On Debian/Ubuntu:

sudo apt-get install vim-puppet
ln -s /usr/share/vim/addons/syntax/puppet.vim ~/.vim/plugin/

About these ads

2 thoughts on “Turn on puppet syntax highlight in vim

    • Nefeli says:

      In Debian based systems, plugins are loaded from /var/lib/vim/addons.

      The right way to enable the plugin, instead of creating the symlink manually as suggested here, is to use the “vim-addons” command provided by the “vim-addon-manager” package:

      vim-addons install puppet # enable the plugin just for the current user
      sudo vim-addons -w install puppet #enable de plugin system wide

      The information can be found in the vim-puppet package documentation, locaet in /usr/share/doc/vim-puppet/README.Debian

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s