

def apply_settings(self, view):
    ' Applies the settings from the settings file '
    if (self.pluginSettings is None):
        self.pluginSettings = sublime.load_settings((__name__ + '.sublime-settings'))
        self.pluginSettings.clear_on_change('glsv_validator')
        self.pluginSettings.add_on_change('glsv_validator', self.clear_settings)
    if (view.settings().get('glsv_configured') is None):
        view.settings().set('glsv_configured', True)
        for setting in self.DEFAULT_SETTINGS:
            settingValue = self.DEFAULT_SETTINGS[setting]
            if (setting.pluginSettings.get(setting) is not None):
                settingValue = self.pluginSettings.get(setting)
            view.settings().set(setting, settingValue)

dataset/ETHPy150Open WebGLTools/GL-Shader-Validator/GLShaderValidator.py GLShaderValidatorCommand.apply_settings/VarMisuse@114/175 `self`->`setting`