themes.py 文件源码

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

项目:a-file-icon 作者: ihodev 项目源码 文件源码
def get_customizable():
    log("Getting the list of theme packages with customization support")

    installed_themes = get_installed(logging=False)
    customizable_themes = []

    theme_res = sublime.find_resources(".supports-a-file-icon-customization")

    for res in theme_res:
        pkg = re.sub(PATTERN, "", res)

        if pkg in installed_themes:
            customizable_themes.append(pkg)

    dump(customizable_themes)

    return customizable_themes
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号