Simplify per-terminal theme code; note ansi_colors needs restart
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
3
main.py
3
main.py
@@ -43,7 +43,8 @@ def plugin_loaded():
|
||||
plugin host: a restored tab's color_scheme is read during startup and may
|
||||
name any of them.
|
||||
"""
|
||||
view = sublime.active_window().active_view() if sublime.active_window() else None
|
||||
window = sublime.active_window()
|
||||
view = window.active_view() if window else None
|
||||
build_startup_schemes(view)
|
||||
|
||||
level = logging.DEBUG if settings().get("debug", False) else logging.INFO
|
||||
|
||||
Reference in New Issue
Block a user