devListener.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:MarkdownLivePreview 作者: math2001 项目源码 文件源码
def on_post_save(self, view):
        if not (os.path.dirname(__file__) in view.file_name() and
            view.file_name().endswith('.py')):
            return
        sublime.run_command('reload_plugin', {
            'main': os.path.join(sublime.packages_path(), 'MarkdownLivePreview',
                                 'MarkdownLivePreview.py'),
            'scripts': ['image_manager', 'functions', 'MLPApi',
                        'setting_names'],
            'folders': ['lib'],
            'quiet': True
        })
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号