summaryrefslogtreecommitdiff
path: root/runtime/indent
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-21 22:12:03 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-21 22:12:03 +0200
commit73fef33014dbf21fc59e7e47fb091117868d82fb (patch)
tree23d165829a07994dd93c4993f54dfc5ce0fcaf5e /runtime/indent
parent8d9437968b6693ecb14e7375bcb242e657e75266 (diff)
downloadvim-git-73fef33014dbf21fc59e7e47fb091117868d82fb.tar.gz
Update runtime files
Diffstat (limited to 'runtime/indent')
-rw-r--r--runtime/indent/html.vim4
-rw-r--r--runtime/indent/testdir/html.in10
-rw-r--r--runtime/indent/testdir/html.ok10
3 files changed, 22 insertions, 2 deletions
diff --git a/runtime/indent/html.vim b/runtime/indent/html.vim
index 1d2043ae9..c99eb288b 100644
--- a/runtime/indent/html.vim
+++ b/runtime/indent/html.vim
@@ -2,7 +2,7 @@
" Header: "{{{
" Maintainer: Bram Moolenaar
" Original Author: Andy Wokula <anwoku@yahoo.de>
-" Last Change: 2019 Mar 20
+" Last Change: 2020 Jun 18
" Version: 1.0
" Description: HTML indent script with cached state for faster indenting on a
" range of lines.
@@ -223,7 +223,7 @@ endfunc "}}}
call s:AddITags(s:indent_tags, [
\ 'a', 'abbr', 'acronym', 'address', 'b', 'bdo', 'big',
\ 'blockquote', 'body', 'button', 'caption', 'center', 'cite', 'code',
- \ 'colgroup', 'del', 'dfn', 'dir', 'div', 'dl', 'em', 'fieldset', 'font',
+ \ 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'fieldset', 'font',
\ 'form', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'html',
\ 'i', 'iframe', 'ins', 'kbd', 'label', 'legend', 'li',
\ 'map', 'menu', 'noframes', 'noscript', 'object', 'ol',
diff --git a/runtime/indent/testdir/html.in b/runtime/indent/testdir/html.in
index 9c776d61c..80ce0cdf8 100644
--- a/runtime/indent/testdir/html.in
+++ b/runtime/indent/testdir/html.in
@@ -23,4 +23,14 @@ bar">
text
</div>
+<dl>
+<dd>
+dd text
+</dd>
+<dt>
+dt text
+</dt>
+</dl>
+
+
" END_INDENT
diff --git a/runtime/indent/testdir/html.ok b/runtime/indent/testdir/html.ok
index ad819333c..a96141fb3 100644
--- a/runtime/indent/testdir/html.ok
+++ b/runtime/indent/testdir/html.ok
@@ -23,4 +23,14 @@
text
</div>
+<dl>
+ <dd>
+ dd text
+ </dd>
+ <dt>
+ dt text
+ </dt>
+</dl>
+
+
" END_INDENT