wangxu <[EMAIL PROTECTED]> 写于 2007-05-31 01:17:41: > I want to have this function: > formatting my xml file automatically. > or,indent xml element and attributes. > > is there any plugin like this? > thanks! >
did you set autoindent ? provide that there's $VIMRUNTIME/indent/xml.vim it should do automatic indent well. Or just try gg=G after you had opened your xml file. -- Sincerely, Pan, Shi Zhu. ext: 2606