Full extensible linter support

This commit is contained in:
Zachary Yedidia
2019-08-03 15:19:28 -07:00
parent 4027081e0e
commit be136a4648
6 changed files with 159 additions and 82 deletions

View File

@@ -95,9 +95,7 @@ func (p *Plugin) Load() error {
return err
}
p.Loaded = true
if _, ok := GlobalSettings[p.Name]; !ok {
AddOption(p.Name, true)
}
RegisterGlobalOption(p.Name, true)
}
return nil
}