Hi Bram

I found another tag called picture[1] is missing here.
Sorry I didn't notice this in the last mail.
I will review all tags again to confirm there is nothing missing.
Will reply result to this thread.


And I have a question about <p>
Which is a self closing tag, as you mentioned in the comment[2].
This kind of tags are not in s:indent_tags.
So, will its content indent too?

I have tested and found content of <p> tag is not indented one more level.
But I am not sure is this is expected result.


[1]:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
[2]:https://github.com/vim/vim/blob/master/runtime/indent/html.vim#L218-L219


2018-03-13 8:55 GMT+08:00 OOO <[email protected]>:

>
>
> 2018-03-13 5:05 GMT+08:00 Bram Moolenaar <[email protected]>:
>
>>
>> > Sorry for one more issue.
>> >
>> > The s:indent_tags missed 2 tags: main, dialog
>> >
>> > main: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
>>
>> That looks like an HTML 5 tag.
>>
>> > dialog: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di
>> alog
>>
>> This isn't officially supported yet, it appears.  May be part of HTML
>> 5.2
>>
>
> Yes, this is a new feature.
> Chrome already supports it.
> And Firefox is almost ready.
>
>
>
>>
>> --
>> Never enter the boss's office unless it's absolutely necessary.  Every
>> boss
>> saves one corner of the desk for useless assignments that are doled out
>> like
>> Halloween candy to each visitor.
>>                                 (Scott Adams - The Dilbert principle)
>>
>>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
>>  \\\
>> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/
>> \\\
>> \\\  an exciting new programming language -- http://www.Zimbu.org
>> ///
>>  \\\            help me help AIDS victims -- http://ICCF-Holland.org
>> ///
>>
>
>
>
> --
> OOO
>



-- 
OOO

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui