mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-17 06:25:23 +03:00
Fixes an issue when reloading documents (file system change) that disabled the linter by mistake.
This commit is contained in:
@@ -104,6 +104,8 @@ void AutoCompletePlugin::onRegister( UICodeEditor* editor ) {
|
||||
listeners.push_back(
|
||||
editor->addEventListener( Event::OnDocumentLoaded, [&, editor]( const Event* ) {
|
||||
mDirty = true;
|
||||
mDocs.insert( editor->getDocumentRef().get() );
|
||||
mEditorDocs[editor] = editor->getDocumentRef().get();
|
||||
tryRequestCapabilities( editor );
|
||||
} ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user