diff --git a/Main.sublime-menu b/Main.sublime-menu index 2d17819..4a10fb6 100644 --- a/Main.sublime-menu +++ b/Main.sublime-menu @@ -8,12 +8,18 @@ "caption": "LSP", "children": [ { - "args": { - "base_file": "${packages}/LSP-ember/LSP-ember.sublime-settings", - "default": "// Settings in here override those in \"LSP-ember/LSP-ember.sublime-settings\"\n\n{\n\t$0\n}\n", - }, - "caption": "LSP-ember", - "command": "edit_settings", + "caption": "Servers", + "children": [ + { + "args": { + "base_file": "${packages}/LSP-ember/LSP-ember.sublime-settings", + "default": "// Settings in here override those in \"LSP-ember/LSP-ember.sublime-settings\"\n\n{\n\t$0\n}\n", + }, + "caption": "LSP-ember", + "command": "edit_settings", + }, + ], + "id": "lsp-servers", }, ], "id": "lsp-settings", diff --git a/plugin.py b/plugin.py index 589ae3e..56169f1 100644 --- a/plugin.py +++ b/plugin.py @@ -1,10 +1,10 @@ from __future__ import annotations +from LSP.plugin import Error from LSP.plugin import LspPlugin from LSP.plugin import Notification from LSP.plugin import notification_handler from LSP.plugin import OnPreStartContext -from LSP.plugin.core.protocol import Error from LSP.protocol import ExecuteCommandParams from LSP.protocol import LSPAny from lsp_utils import NodeManager