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

Re: HTML, CSS indentation in .php files?

Expand Messages
  • 703designs
    Found my answer. See the first comment on this page: http://vim.wikia.com/wiki/Better_indent_support_for_php_with_html Works perfectly! ...
    Message 1 of 2 , May 30, 2008
    • 0 Attachment
      Found my answer. See the first comment on this page:
      http://vim.wikia.com/wiki/Better_indent_support_for_php_with_html

      Works perfectly!

      On May 30, 2:51 pm, 703designs <thomasmal...@...> wrote:
      > It's a rare day now that I create a .html or .htm file for web
      > content. Virtually all of my work is in .php files. However,
      > autoindent doesn't work when in a PHP file for HTML tags. I pretty
      > much always have my CSS and JS separate, but I'd also like to have
      > these auto-indent when I'm in a CSS section. How can I do this? Syntax
      > highlighting does work for these files, and JavaScript auto-indents
      > wherever I am.
      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.