mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-16 19:11:24 +08:00
oops.
This commit is contained in:
1 parent
805d715be0
commit
deeca32153
1 file changed
+1
-1
+1
-1
@@ -1608,7 +1608,7 @@ function! s:zen_balanceTag(flag)
|
||||
while 1
|
||||
let pos = getpos('.')
|
||||
let mx = '<\(/\{0,1}[a-zA-Z][a-zA-Z0-9]*\)[^>]*>'
|
||||
let pos1 = searchpos(mx, 'bnW')
|
||||
let pos1 = searchpos(mx, 'bcnW')
|
||||
let content = matchstr(getline(pos1[0])[pos1[1]-1:], mx)
|
||||
let tag_name = substitute(content, '^<\(/\{0,1}[a-zA-Z0-9]*\).*$', '\1', '')
|
||||
let block = [pos1, [pos1[0], pos1[1] + len(content) - 1]]
|
||||
|
||||
Reference in new issue
Block a user