diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-10-29 06:44:21 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-10-29 06:50:47 +0100 |
commit | e2fb230c3a776cb3b7ccf3087411e376f3f93ef4 (patch) | |
tree | 58ceeb02db05cef059e5d437497dc80f6eb34e7f /runtime/indent | |
parent | 5c4a4217352edf82d32c03e6bec8c64b8f16a28c (diff) | |
download | rneovim-e2fb230c3a776cb3b7ccf3087411e376f3f93ef4.tar.gz rneovim-e2fb230c3a776cb3b7ccf3087411e376f3f93ef4.tar.bz2 rneovim-e2fb230c3a776cb3b7ccf3087411e376f3f93ef4.zip |
vim-patch:ab943431d8fc
Update runtime files
https://github.com/vim/vim/commit/ab943431d8fcd856008a025b0e5652dd4b8007fc
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/html.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/indent/html.vim b/runtime/indent/html.vim index eb00ea949b..ba043e968a 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: 2018 Mar 12 +" Last Change: 2018 Mar 28 " Version: 1.0 " Description: HTML indent script with cached state for faster indenting on a " range of lines. @@ -216,7 +216,8 @@ endfunc "}}} " Add known tag pairs. " Self-closing tags and tags that are sometimes {{{ " self-closing (e.g., <p>) are not here (when encountering </p> we can find -" the matching <p>, but not the other way around). +" the matching <p>, but not the other way around). Known self-closing tags: +" 'p', 'img', 'source'. " Old HTML tags: call s:AddITags(s:indent_tags, [ \ 'a', 'abbr', 'acronym', 'address', 'b', 'bdo', 'big', @@ -234,7 +235,7 @@ call s:AddITags(s:indent_tags, [ \ 'area', 'article', 'aside', 'audio', 'bdi', 'canvas', \ 'command', 'data', 'datalist', 'details', 'embed', 'figcaption', \ 'figure', 'footer', 'header', 'keygen', 'main', 'mark', 'meter', - \ 'nav', 'output', 'progress', 'rp', 'rt', 'ruby', 'section', 'source', + \ 'nav', 'output', 'picture', 'progress', 'rp', 'rt', 'ruby', 'section', \ 'summary', 'svg', 'time', 'track', 'video', 'wbr']) " Tags added for web components: |