Balasubramaniam Natarajan
2013-May-16 14:27 UTC
[Puppet Users] vim-puppet syntax highlight
Hi I am trying to install vim-puppet for syntax highlight of puppet manifest file. I first installed vim-puppet and then vim. Then I ran "vim-addon-manager -w install puppet" I am still unable to see the colours on site.pp bala@WheezyMaster:~$ vim-addon-manager # Name User Status System Status editexisting removed removed justify removed removed matchit removed removed puppet *installed installed* bala@WheezyMaster:~$ bala@WheezyMaster:~$ vim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 10 2013 06:46:22) bala@WheezyMaster:~$ dpkg -l | grep vim ii vim 2:7.3.547-7 i386 Vi IMproved - enhanced vi editor ii vim-addon-manager 0.5.2 all manager of addons for the Vim editor ii vim-common 2:7.3.547-7 i386 Vi IMproved - Common files ii vim-gnome 2:7.3.547-7 i386 Vi IMproved - enhanced vi editor - with GNOME2 GUI ii vim-gui-common 2:7.3.547-7 all Vi IMproved - Common GUI files ii vim-puppet 2.7.18-4 all syntax highlighting for puppet manifests in vim ii vim-runtime 2:7.3.547-7 all Vi IMproved - Runtime files ii vim-tiny 2:7.3.547-7 i386 Vi IMproved - enhanced vi editor - compact version bala@WheezyMaster:~$ Could you please tell me where am I going wrong ? -- Regards, Balasubramaniam Natarajan www.blog.etutorshop.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Hello, is syntax highlighting enabled in Vim? Try "syntax enable". If this solves the problem you can put it in your .vimrc. Best regards, Dennis Benzinger On 16.05.2013 16:27, Balasubramaniam Natarajan wrote:> Hi > > I am trying to install vim-puppet for syntax highlight of puppet > manifest file. I first installed vim-puppet and then vim. Then I ran > "vim-addon-manager -w install puppet" I am still unable to see the > colours on site.pp > > bala@WheezyMaster:~$ vim-addon-manager > # Name User Status System Status > editexisting removed removed > justify removed removed > matchit removed removed > puppet *installed installed* > bala@WheezyMaster:~$ > > bala@WheezyMaster:~$ vim --version > VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 10 2013 06:46:22) > > bala@WheezyMaster:~$ dpkg -l | grep vim > ii vim 2:7.3.547-7 i386 Vi IMproved - enhanced vi editor > ii vim-addon-manager 0.5.2 all manager of addons for the Vim editor > ii vim-common 2:7.3.547-7 i386 Vi IMproved - Common files > ii vim-gnome 2:7.3.547-7 i386 Vi IMproved - enhanced vi editor - with > GNOME2 GUI > ii vim-gui-common 2:7.3.547-7 all Vi IMproved - Common GUI files > ii vim-puppet 2.7.18-4 all syntax highlighting for puppet manifests in vim > ii vim-runtime 2:7.3.547-7 all Vi IMproved - Runtime files > ii vim-tiny 2:7.3.547-7 i386 Vi IMproved - enhanced vi editor - compact > version > bala@WheezyMaster:~$ > > > Could you please tell me where am I going wrong ? > > -- > Regards, > Balasubramaniam Natarajan > www.blog.etutorshop.com <http://www.blog.etutorshop.com> > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > >-- Dennis Benzinger Platform Implementations Engineer Managed Services Nymphenburger Straße 86 80636 München, Deutschland www.hybris.com Geschäftsführer: Ariel F. Lüdi, Carsten Thoma, Moritz Zimmermann, Michael Zips Amtsgericht München, HRB 124384 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Perhaps try: $ echo ''syntax on'' >> ~/.vimrc - Keith On 16 May 2013 15:27, Balasubramaniam Natarajan <bala150985@gmail.com>wrote:> Hi > > I am trying to install vim-puppet for syntax highlight of puppet manifest > file. I first installed vim-puppet and then vim. Then I ran > "vim-addon-manager -w install puppet" I am still unable to see the colours > on site.pp > > bala@WheezyMaster:~$ vim-addon-manager > # Name User Status System Status > editexisting removed removed > justify removed removed > matchit removed removed > puppet *installed installed* > bala@WheezyMaster:~$ > > bala@WheezyMaster:~$ vim --version > VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 10 2013 06:46:22) > > bala@WheezyMaster:~$ dpkg -l | grep vim > ii vim 2:7.3.547-7 > i386 Vi IMproved - enhanced vi editor > ii vim-addon-manager 0.5.2 > all manager of addons for the Vim editor > ii vim-common 2:7.3.547-7 > i386 Vi IMproved - Common files > ii vim-gnome 2:7.3.547-7 > i386 Vi IMproved - enhanced vi editor - with GNOME2 GUI > ii vim-gui-common 2:7.3.547-7 > all Vi IMproved - Common GUI files > ii vim-puppet 2.7.18-4 > all syntax highlighting for puppet manifests in vim > ii vim-runtime 2:7.3.547-7 > all Vi IMproved - Runtime files > ii vim-tiny 2:7.3.547-7 > i386 Vi IMproved - enhanced vi editor - compact version > bala@WheezyMaster:~$ > > > Could you please tell me where am I going wrong ? > > -- > Regards, > Balasubramaniam Natarajan > www.blog.etutorshop.com > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Balasubramaniam Natarajan
2013-May-16 16:06 UTC
Re: [Puppet Users] vim-puppet syntax highlight
On Thu, May 16, 2013 at 11:13 AM, Keith Burdis <keith@burdis.org> wrote:> Perhaps try: > > $ echo ''syntax on'' >> ~/.vimrc > > - Keith > >Thanks now it works with either one of ''syntax on'' or ''syntax enable'' -- Regards, Balasubramaniam Natarajan www.blog.etutorshop.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.