scope text.html settings decreaseIndentPattern ]*+ ])[^\t\n\f /<>]+ [^>]* > | ^[\t\n\f ]*+ ( # closing comment punctuation, optionally preceded by an end "comment selector" ( # closing directive/section punctuation | [?%]> # closing curly brace | \} ) ]]> increaseIndentPattern ] )(?: # tag name (?[^\t\n\f /<>]+) # not self closing (?:(?!/>)[^>])* > # not closing in the same line (?! .* ) ) # comments that don't close themselves on the same line | ) # directives that don't close themselves on the same line | <\?(?!.*?\?>) # sections that don't close themselves on the same line | <\%(?!.*?\%>) # open curly braces that don't have close braces or string punctuation after them | \{(?![}"']) ) ]]> bracketIndentNextLinePattern )]]>