summaryrefslogtreecommitdiff
path: root/runtime/indent/docbk.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/docbk.vim')
-rw-r--r--runtime/indent/docbk.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/indent/docbk.vim b/runtime/indent/docbk.vim
new file mode 100644
index 000000000..6b807bbf3
--- /dev/null
+++ b/runtime/indent/docbk.vim
@@ -0,0 +1,13 @@
+" Vim indent file
+" Language: DocBook Documentation Format
+" Maintainer: Nikolai Weibull <source@pcppopper.org>
+" URL: http://www.pcppopper.org/vim/indent/pcp/docbk/
+" Latest Revision: 2004-05-22
+" arch-tag: 3d073af7-1d69-42a2-99ad-9a49a21eb28f
+
+" Same as XML indenting for now.
+runtime! indent/xml.vim
+
+setlocal indentexpr=XmlIndentGet(v:lnum,0)
+
+" vim: set sts=2 sw=2: