I am writing a really simple plugin that simply opens the linter panel on the opening of Sublime Text 3, but it doesn’t seem working.
This is the plugin:
import sublime
import sublime_plugin
def plugin_loaded():
window = sublime.active_window()
if window is None:
return sublime.set_timeout(lambda: plugin_loaded(), 100)
window.run_command("sublime_linter_panel_toggle")
What am I doing wrong?(The plugin is saved in “Sublime Text 3/Packages/User/linter.py”)