def plugin_loaded():
'''
Sublime 3 calls this once the plugin API is ready.
'''
# TODO: remove this fix and its def above after a few updates
temporary_settings_fix()
s = sublime.load_settings('gpg.sublime-settings')
gpg_readme_shown = s.get('gpg.readme_shown', False)
if not gpg_readme_shown:
s.set('gpg.readme_shown', True)
sublime.save_settings('gpg.sublime-settings')
sublime.set_timeout_async(lambda: sublime.active_window().run_command('gpg_readme'), 5000)
评论列表
文章目录