massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / balanced-match / index.js
index 1685a762932558b67a4fe743c9edf77325a520eb..c67a64608df7f4d8e126c0a8eff2cc4a3d837e71 100644 (file)
@@ -28,6 +28,9 @@ function range(a, b, str) {
   var i = ai;
 
   if (ai >= 0 && bi > 0) {
+    if(a===b) {
+      return [ai, bi];
+    }
     begs = [];
     left = str.length;