Add dynamic EventNamespace for event type access and refactor LSP manager initialization
- Create EventNamespace class to enable Code_Event_Types.RegisterLspClientEvent access - Move set_event_hub call from plugin to lsp_manager._do_bind_mapping - Update event type references to use Code_Event_Types namespace
This commit is contained in:
@@ -62,10 +62,6 @@ class Plugin(PluginCode):
|
||||
source_view = event.response
|
||||
lsp_manager.lsp_manager_ui.set_source_view(source_view)
|
||||
|
||||
lsp_manager.response_registry.set_event_hub(
|
||||
self.emit, self.emit_to, lsp_manager.provider
|
||||
)
|
||||
|
||||
def run(self):
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user