Skip to content

Remove some obsolete ST3 related components #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading