Skip to content

Commit

Permalink
No need to send the languageId in a didChange notification (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwols committed Nov 10, 2018
1 parent eb5e247 commit b0f0022
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions plugin/core/test_windows.py
Expand Up @@ -263,8 +263,6 @@ def test_can_start_active_views(self):

# session must be started (todo: verify session is ready)
self.assertIsNotNone(wm.get_session(test_config.name))

#
self.assertListEqual(docs._documents, [__file__])

def test_can_open_supported_view(self):
Expand Down
1 change: 0 additions & 1 deletion plugin/core/windows.py
Expand Up @@ -278,7 +278,6 @@ def notify_did_change(self, view: ViewLike):
params = {
"textDocument": {
"uri": uri,
"languageId": self._view_language(view, session.config.name),
"version": document_state.inc_version(),
},
"contentChanges": [{
Expand Down

0 comments on commit b0f0022

Please sign in to comment.