Skip to content

Commit d0e8f16

Browse files
committed
shorten status message to remove LSP
1 parent 5c0a673 commit d0e8f16

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

plugin/core/windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def start_async(self, config: ClientConfig, initiating_view: sublime.View) -> No
296296
"Re-enable by running \"LSP: Enable Language Server In Project\" from the Command Palette.",
297297
"\n\n--- Error: ---\n{1}"
298298
)).format(config.name, str(e))
299-
status = f"LSP: Failed to start {config.name}… See console"
299+
status = f"Failed to start {config.name}… See console"
300300
exception_log(f"Unable to start subprocess for {config.name}", e)
301301
if isinstance(e, CalledProcessError):
302302
print("Server output:\n{}".format(e.output.decode('utf-8', 'replace')))

plugin/core/workspace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def enable_in_project(window: sublime.Window, config_name: str) -> None:
148148
window.set_project_data(project_data)
149149
else:
150150
message = f"Can't enable {config_name} in the current workspace. Ensure that the project is saved first."
151-
status = f"LSP: Can't enable {config_name} in this workspace… See console"
151+
status = f"Can't enable {config_name} in this workspace… See console"
152152
notify(window, message, status)
153153

154154

@@ -162,5 +162,5 @@ def disable_in_project(window: sublime.Window, config_name: str) -> None:
162162
window.set_project_data(project_data)
163163
else:
164164
message = f"Can't disable {config_name} in the current workspace. Ensure that the project is saved first."
165-
status = f"LSP: Can't enable {config_name} in this workspace… See console"
165+
status = f"Can't enable {config_name} in this workspace… See console"
166166
notify(window, message, status)

plugin/execute_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def handle_error_async(self, error: Error, command_name: str) -> None:
6060
:param command_name: The name of the command that was executed.
6161
"""
6262
message = f"command {command_name} failed. Reason: {str(error)}"
63-
status = f"LSP: {command_name} failed… See console"
63+
status = f"{command_name} failed… See console"
6464
notify(self.view.window(), message, status)
6565

6666
def _expand_variables(self, command_args: list[Any]) -> list[Any]:

0 commit comments

Comments
 (0)