aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-11 04:23:37 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-11 04:23:37 +1300
commit9f04e0b3c747def56072c848807bf652a560c98c (patch)
tree9d7bf554994be37b2cc21e8371f33ec4397d1b73
parentRemoved tags file. (diff)
downloadvim-nextag-9f04e0b3c747def56072c848807bf652a560c98c.tar.gz
vim-nextag-9f04e0b3c747def56072c848807bf652a560c98c.zip
Slightly more tolerant regex.
-rw-r--r--plugin/nextag.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/nextag.vim b/plugin/nextag.vim
index d9493c6..f85db14 100644
--- a/plugin/nextag.vim
+++ b/plugin/nextag.vim
@@ -24,7 +24,7 @@ function! s:MoveToSGMLTag(direction, mode, count)
endif
let l:flags = (a:direction == "next") ? "W" : "Wb"
for l:iteration in range(1, a:count)
- call search("<\w*[^>]*>", l:flags)
+ call search("<\S*[^>]*>", l:flags)
if a:mode == 'v'
if a:direction == 'next' && &selection != 'exclusive'
normal! l