We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
>
1 parent c557d89 commit 00d3f66Copy full SHA for 00d3f66
1 file changed
indent/html.vim
@@ -267,13 +267,13 @@ endfun
267
" [-- count indent-increasing tags of line a:lnum --]
268
fun! <SID>HtmlIndentOpen(lnum, pattern)
269
return <SID>HtmlIndentPatternCount(getline(a:lnum),
270
- \ '.\{-}\(\(<\)\('.a:pattern.'\)\>\)')
+ \ '.\{-}\(\(<\)\('.a:pattern.'\)\_[ >]\)')
271
endfun
272
273
" [-- count indent-decreasing tags of line a:lnum --]
274
fun! <SID>HtmlIndentClose(lnum, pattern)
275
276
- \ '.\{-}\(\(<\)/\('.a:pattern.'\)\>>\)')
+ \ '.\{-}\(\(<\)/\('.a:pattern.'\)\_[ >]\)')
277
278
279
" [-- count self close tags of line a:lnum --]
0 commit comments