view runtime/indent/docbk.vim @ 4027:9ea81cd9b1f5 v7.3.768

updated for version 7.3.768 Problem: settabvar() and setwinvar() may move the cursor. Solution: Save and restore the cursor position when appropriate. (idea by Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Thu, 17 Jan 2013 15:37:01 +0100
parents 8cd729851562
children 1218c5353e2b
line wrap: on
line source

" Vim indent file
" Language:	    DocBook Documentation Format
" Maintainer:       Nikolai Weibull <now@bitwi.se>
" Latest Revision:  2006-04-19

if exists("b:did_indent")
  finish
endif

" Same as XML indenting for now.
runtime! indent/xml.vim

if exists('*XmlIndentGet')
  setlocal indentexpr=XmlIndentGet(v:lnum,0)
endif