Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Conversation

@emoses
Copy link
Contributor

@emoses emoses commented Jan 23, 2019

I added a no-op handler for "telemetry/event" to suppress errors I was getting because of that event.

Also, lsp-python-ms--workspace-root wasn't working correctly for me in the "new" lsp-mode, and I changed it to delegate to the new mode's lsp-workspace-root function if available.

lsp-python-ms.el Outdated
:initialization-options 'lsp-python-ms--extra-init-params
:notification-handlers (lsp-ht ("python/languageServerStarted" 'lsp-python-ms--language-server-started-callback))))
:notification-handlers (lsp-ht ("python/languageServerStarted" 'lsp-python-ms--language-server-started-callback)
("telemetry/event" (lambda (&rest r))))))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: there is standard function 'ignore

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this.

@andrew-christianson andrew-christianson merged commit 2ec5c81 into emacs-lsp:master Feb 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants