Fix closing tag detection issue.

This commit is contained in:
Max Bucknell 2017-03-16 01:27:41 +04:00
parent 46dfd55359
commit edb69fff13

View file

@ -54,7 +54,7 @@ endfun
fun! XmlCurrentLine(line)
" 'Checking current line:'
if (match(a:line, '^\s*/\{0,1}>') != -1) || (match(a:line, '</') != -1)
if (match(a:line, '^\s*/\{0,1}>') != -1) || (match(a:line, '^\s*</') != -1)
" 'Is closing tag line'
return -1
else