From 2e252d3b7d06fa8557a481a7f6b4b7068dd06a37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=9F=D1=80=D0=B5=D0=B4=D1=80=D0=B0=D0=B3=20=D0=9D=D0=B8?=
 =?UTF-8?q?=D0=BA=D0=BE=D0=BB=D0=B8=D1=9B?= <idmpepe@gmail.com>
Date: Tue, 13 Feb 2024 12:22:35 +0100
Subject: [PATCH] Revert "change import" (:

This reverts commit c70cd57055ddeb8ca0b4ff36acb8531dd81a6e07.
---
 plugin/core/types.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/plugin/core/types.py b/plugin/core/types.py
index 42c6211d1..91b7d16df 100644
--- a/plugin/core/types.py
+++ b/plugin/core/types.py
@@ -6,7 +6,9 @@
 from .typing import cast
 from .url import filename_to_uri
 from .url import parse_uri
-from wcmatch import glob
+from wcmatch.glob import BRACE
+from wcmatch.glob import globmatch
+from wcmatch.glob import GLOBSTAR
 import contextlib
 import fnmatch
 import os
@@ -409,7 +411,7 @@ def __call__(self, view: sublime.View) -> bool:
             if isinstance(uri, str) and parse_uri(uri)[0] != self.scheme:
                 return False
         if self.pattern:
-            if not glob.globmatch(view.file_name() or "", self.pattern, flags=glob.GLOBSTAR | glob.BRACE):
+            if not globmatch(view.file_name() or "", self.pattern, flags=GLOBSTAR | BRACE):
                 return False
         return True