From c9634d229b413168633332b419a5b81f82195c0b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 11 Feb 2012 05:16:25 +1300 Subject: Force magic so this regex works. --- plugin/nextag.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/nextag.vim b/plugin/nextag.vim index 2f15f8a..68bb0fc 100644 --- a/plugin/nextag.vim +++ b/plugin/nextag.vim @@ -25,7 +25,7 @@ function! s:MoveToSGMLTag(direction, mode, count) endif let l:visualfix = a:mode == 'v' && a:direction == 'next' && &selection != 'exclusive' ? 1 : 0 for l:iteration in range(1, a:count) - call search('<\/\?\w\+[^>]*>', a:direction == 'next' ? 'W' : 'Wb') + call search('\m<\/\?\w\+[^>]*>', a:direction == 'next' ? 'W' : 'Wb') if l:visualfix normal! l endif -- cgit v1.2.3