From 4185f58e62b77222e14c51a9266e131f3f807cf8 Mon Sep 17 00:00:00 2001
From: Samuel Hym <samuel.hym@rustyne.lautre.net>
Date: Fri, 10 Mar 2017 17:21:00 +0100
Subject: [PATCH] Fix JumpNext and JumpPrevious regexes

Fix the regexes used in JumpNext and JumpPrevious functions: since the
regexes are written using double-quotes, the backslash for "\{2}" counts
must be espaced
---
 autoload/criticmarkup.vim | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/autoload/criticmarkup.vim b/autoload/criticmarkup.vim
index 440f1f6..77c2313 100644
--- a/autoload/criticmarkup.vim
+++ b/autoload/criticmarkup.vim
@@ -77,17 +77,17 @@ endfunction
 
 function! criticmarkup#JumpNext(editorial)
 	if a:editorial == 1
-		exe "normal ".v:count1."/{[-+\\~]\{2}\<CR>"
+		exe "normal ".v:count1."/{[-+\\~]\\{2}\<CR>"
 	else
-		exe "normal ".v:count1."/{[-+\\~\>=]\{2}\<CR>"
+		exe "normal ".v:count1."/{[-+\\~\>=]\\{2}\<CR>"
 	endif
 endfunction
 
 function! criticmarkup#JumpPrevious(editorial)
 	if a:editorial == 1
-		exe "normal ".v:count1."?{[-+\\~]\{2}\<CR>"
+		exe "normal ".v:count1."?{[-+\\~]\\{2}\<CR>"
 	else
-		exe "normal ".v:count1."?{[-+\\~\>=]\{2}\<CR>"
+		exe "normal ".v:count1."?{[-+\\~\>=]\\{2}\<CR>"
 	endif
 endfunction