diff options
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/html.vim | 4 | ||||
-rw-r--r-- | runtime/indent/testdir/html.in | 10 | ||||
-rw-r--r-- | runtime/indent/testdir/html.ok | 10 |
3 files changed, 22 insertions, 2 deletions
diff --git a/runtime/indent/html.vim b/runtime/indent/html.vim index 1d2043ae9e..c99eb288ba 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 9c776d61c6..80ce0cdf83 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 ad819333cc..a96141fb3b 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 |