Re: [Puppet Users] vim-puppet syntax highlight

2013-05-16 Thread Keith Burdis
Perhaps try:

$ echo 'syntax on'  ~/.vimrc

  - Keith


On 16 May 2013 15:27, Balasubramaniam Natarajan bala150...@gmail.comwrote:

 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
 editexistingremoved   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  vim2: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-runtime2: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+unsubscr...@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+unsubscr...@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.




Re: [Puppet Users] vim-puppet syntax highlight

2013-05-16 Thread Dennis Benzinger

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+unsubscr...@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+unsubscr...@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.




Re: [Puppet Users] vim-puppet syntax highlight

2013-05-16 Thread Balasubramaniam Natarajan
On Thu, May 16, 2013 at 11:13 AM, Keith Burdis ke...@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+unsubscr...@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.