We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a48f09 commit 8c0707fCopy full SHA for 8c0707f
1 file changed
core/settings.py
@@ -7,7 +7,7 @@
7
from .overlay import with_ignored_overlay
8
from .utils.decorators import debounce
9
from .utils.logging import log
10
-from .utils.path import PACKAGE_NAME
+from .utils.path import PACKAGE_NAME, OVERLAY_ROOT
11
12
PACKAGE_SETTINGS = "A File Icon.sublime-settings"
13
USER_SETTINGS = "Preferences.sublime-settings"
@@ -74,7 +74,9 @@ def _on_change_package():
74
def _on_change_user():
75
global _cached_packages
76
settings = sublime.load_settings(USER_SETTINGS)
77
- packages = settings.get("ignored_packages")
+ packages = settings.get("ignored_packages", [])
78
+ if OVERLAY_ROOT in packages:
79
+ packages.remove(OVERLAY_ROOT)
80
if packages != _cached_packages:
81
_cached_packages = packages
82
themes.patch(_cached_settings, on_demand=True)
0 commit comments