Skip to content

vim-scripts/XML-Indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=1211

It aligns all attributes of a tag to the same column

<!-- there are 10 spaces before "xmlns:c=..." -->
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page&quot;
          xmlns:c="http://java.sun.com/jstl/core&quot;
          xmlns:tf="urn:jsptagdir:/WEB-INF/tags">

<jsp:root
  xmlns:jsp="http://java.sun.com/JSP/Page&quot;
  xmlns:c="http://java.sun.com/jstl/core&quot;
  xmlns:tf="urn:jsptagdir:/WEB-INF/tags">


(The original indent/xml.vim does only the second type of indent)

About

My XML Indent (align attributes)

Resources

Stars

Watchers

Forks

Packages

No packages published