Skip to content

Commit

Permalink
Removed initialization message from server
Browse files Browse the repository at this point in the history
  • Loading branch information
pappasam committed May 6, 2020
1 parent f4bac79 commit fffb25f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.12.3

### Removed

- Removed initialization message directly from the server. This should be handled and configured by LanguageClient plugins.

## 0.12.2

### Changed
Expand Down
6 changes: 0 additions & 6 deletions jedi_language_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ def __init__(self):
pygls_utils.uuid
)

def jls_message(self, message: str) -> None:
"""Standardize `JediLanguageServer.show_message`"""
self.show_message(f"jedi-language-server {message}")

async def unregister_feature(self, feature: Feature) -> None:
"""Unregister an LSP method if it has already been registered"""
lsp_method = feature.lsp_method
Expand Down Expand Up @@ -408,5 +404,3 @@ async def initialized(
await server.register_feature(_FEATURE_DID_CHANGE, config)
if rgetattr(config, "diagnostics.didSave", True):
await server.register_feature(_FEATURE_DID_SAVE, config)

server.jls_message("initialized")
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include_trailing_comma = true

[tool.poetry]
name = "jedi-language-server"
version = "0.12.2"
version = "0.12.3"
description = "A language server for Jedi!"
authors = ["Sam Roeca <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit fffb25f

Please sign in to comment.