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

10852Re: PHP-Indent

Expand Messages
  • björn
    Oct 3, 2009
    • 0 Attachment
      2009/10/2 juz.ooi:
      >
      > I have recently downloaded macvim and started learning PHP. The syntax
      > highlighting is great, but it does not format/beautify the codes as i
      > type. I had tried google-ing, and found this PHP-correct-indenting by
      > John Wellesz. Went into the indent folder of macvim and found that it
      > is already there.
      >
      > Am i missing something here? Some commands or settings?

      Hi Juz,

      I think all we be well if you simply add this line to your ~/.vimrc file:

      filetype plugin indent on

      (You'll have to create that file if it doesn't already exist.)

      Björn

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 3 messages in this topic