Apply config for already opened files

When editor is not opened and you open a file, config does not apply, because plugin is loaded after file has been opened. Therefore on_load method will never be called for this file.