aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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