Loading ...
Sorry, an error occurred while loading the content.

Re: Perl indent in vim 7.3

Expand Messages
  • Paul
    ... setlocal equalprg=perltidy in ftplugin/perl.vim and you can use perltidy automatically with the = command. -- . -- You received this message from the
    Message 1 of 5 , Apr 1, 2011
    • 0 Attachment
      On Fri, Mar 18, 2011 at 09:24:09PM -0400, Matt Martini wrote:
      >I find that perltidy (http://perltidy.sourceforge.net/) is a great help in formatting perl code.
      >
      >With this map:
      >
      > map <leader>p mz:%!perltidy -q<CR>'z

      'setlocal equalprg=perltidy' in ftplugin/perl.vim and you can use perltidy automatically with the = command.

      --

      .

      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.