From 9f04e0b3c747def56072c848807bf652a560c98c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 11 Feb 2012 04:23:37 +1300 Subject: Slightly more tolerant regex. --- plugin/nextag.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3