

def settings_get(name, default=None):
    plugin_settings = sublime.load_settings('TypeScript.sublime-settings')
    if (sublime.active_window() and sublime.active_window().active_view()):
        project_settings = sublime.active_window().active_view().settings().get('TypeScript')
    else:
        project_settings = {
            
        }
    if (project_settings is None):
        project_settings = {
            
        }
    setting = project_settings.get(name, plugin_settings.get(name, default))
    return setting

dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py settings_get/original