Skip to content

jasonwoodland/vim-html-indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

vim-html-indent

HTML indent plugin for Vim. Based on xml.vim.

Allows for automatic indentation of multiline element attributes, for example:

<form action="/submit-form"
      method="post"
      name="myForm">

    <label for="fullname">Your name: </label>
    <input type="text"
           id="fullname"
           name="fullname"
           placeholder="Full name">

    <select name="sex">
        <option value="male">Male</option>
        <option value="female">Female</option>
    </select>

    <input type="submit" value="Send">
</form>

Installation

If you have pathogen installed, simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/jasonwoodland/vim-html-indent.git

About

Allows for automatic indentation of multiline element attributes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published