Skip to content

Commit bff41a5

Browse files
authored
Merge pull request #399 from SublimeText/pr/remove-obsolete-stuff
Remove some obsolete ST3 related components
2 parents 9ee3b9d + 9091de9 commit bff41a5

File tree

3 files changed

+2
-87
lines changed

3 files changed

+2
-87
lines changed

plugins/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
from .syntaxtest_dev import * # noqa
1515
from .theme_dev import * # noqa
1616

17-
from . import xml_hidden_extensions_hotfix
18-
19-
20-
def plugin_loaded():
21-
xml_hidden_extensions_hotfix.plugin_loaded()
22-
2317

2418
def _is_plugin_class(obj):
2519
if hasattr(obj, '__bases__'):

plugins/settings/known_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def _color_scheme_completions(key, default):
712712
- trigger (string): base file name of the color scheme
713713
- contents (string): the value to commit to the settings
714714
"""
715-
if int(sublime.version()) >= 4095 and key == 'color_scheme':
715+
if key == 'color_scheme':
716716
yield format_completion_item(value="auto", annotation="dark-/light switching")
717717

718718
hidden = get_setting('settings.exclude_color_scheme_patterns') or []
@@ -771,7 +771,7 @@ def _theme_completions(key, default):
771771
- contents (string): the file name to commit to the settings
772772
"""
773773
hidden = get_setting('settings.exclude_theme_patterns') or []
774-
if int(sublime.version()) >= 4095 and key == 'theme':
774+
if key == 'theme':
775775
yield format_completion_item(value="auto", annotation="dark-/light switching")
776776
for theme_path in ResourcePath.glob_resources("*.sublime-theme"):
777777
if not any(hide in theme_path.name for hide in hidden):

plugins/xml_hidden_extensions_hotfix.py

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)