Skip to content

Commit

Permalink
Merge pull request #399 from SublimeText/pr/remove-obsolete-stuff
Browse files Browse the repository at this point in the history
Remove some obsolete ST3 related components
  • Loading branch information
FichteFoll authored Nov 7, 2024
2 parents 9ee3b9d + 9091de9 commit bff41a5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 87 deletions.
6 changes: 0 additions & 6 deletions plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
from .syntaxtest_dev import * # noqa
from .theme_dev import * # noqa

from . import xml_hidden_extensions_hotfix


def plugin_loaded():
xml_hidden_extensions_hotfix.plugin_loaded()


def _is_plugin_class(obj):
if hasattr(obj, '__bases__'):
Expand Down
4 changes: 2 additions & 2 deletions plugins/settings/known_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def _color_scheme_completions(key, default):
- trigger (string): base file name of the color scheme
- contents (string): the value to commit to the settings
"""
if int(sublime.version()) >= 4095 and key == 'color_scheme':
if key == 'color_scheme':
yield format_completion_item(value="auto", annotation="dark-/light switching")

hidden = get_setting('settings.exclude_color_scheme_patterns') or []
Expand Down Expand Up @@ -771,7 +771,7 @@ def _theme_completions(key, default):
- contents (string): the file name to commit to the settings
"""
hidden = get_setting('settings.exclude_theme_patterns') or []
if int(sublime.version()) >= 4095 and key == 'theme':
if key == 'theme':
yield format_completion_item(value="auto", annotation="dark-/light switching")
for theme_path in ResourcePath.glob_resources("*.sublime-theme"):
if not any(hide in theme_path.name for hide in hidden):
Expand Down
79 changes: 0 additions & 79 deletions plugins/xml_hidden_extensions_hotfix.py

This file was deleted.

0 comments on commit bff41a5

Please sign in to comment.