indent of xhtml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

indent of xhtml

David Herring

using vim 6.3.58, why don't lines betwen match div tags, form tages etc
get indented in xhtml file ?

i.e edit test.xhtml ,
 type gg=G and file looks like blow. The only indents are on the lines
of javascript ?

thx for any help, dave

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" lang="en" xml:lang="en">
<title>Click 2 Park</title>
<link type="text/css" rel="stylesheet" href="stylesheets/{{$COMPANY}}.css"/>
<link rel="stylesheet" type="text/css" media="all"
<script type="text/javascript" src="/commonJavascript/common.js"></script>
<script type="text/javascript">
function SubmitNavForm(page)
    document.NavForm.{{$PAGE_FP}}.value = page;

<form name="NavForm" method="get" action="{{#ACTION#}}">
<input type="hidden" name="{{$PAGE_FP}}" value=""/>
<input type="hidden" name="{{$LOGOUT_FP}}" value="{{$FALSE}}"/>

<div class="main">
<p class="title">Test Title</p>


David Herring
NetFM Ltd
T: 01344 769068
M: 07973 673027
The number 1 trusted car share solution