On Jan 20, 1:43 pm, Jeff Leggett <jeffrey.legg...@etrade.com> wrote:
> Vim here too.. Luke wrote a puppet.vim syntax highlighter on the wiki
> you can use for it, and I have a quickie little syntax parser I use as
> well:
>
> let project=""
> let compile_file=""
>
> augroup compile
>         au!
>         au bufenter *.pp nm ,' :call CompilePuppet()<cr>
> augroup END
>
> fu! CompileFile()
>         if g:project==""
>         let g:compile_file=expand("%")
>         else
>         let g:compile_file=g:project
>         end
> endf
>
> fu! CompilePuppet()
>         w!
>         call CompileFile()
>         exe "!/usr/bin/puppet --ignoreimport --parseonly
> ".g:compile_file "| more"
> endf
>
> On Jan 14, 7:14 pm, "Matt Marshall" <marshall.m...@azdeq.gov> wrote:
>
> > This may be an odd question, but what does everyone use for an editor
> > for the versioned puppet configs. Does everyone stick with vi or emacs
> > and use the commandline svn tools? Or does anyone use eclipse, and if so
> > what editor do you select for the puppet config files? I've been playing
> > around with some of the different ones and haven't really been able to
> > find one that fits well.
>
> > --


What can be said?  Vim is always the way to go...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to