Skip to content

Commit

Permalink
Don't warn unhandled notifications if protocol implementation dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Oct 27, 2018
1 parent 6896244 commit 533ae71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lsp-io.el
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@
(gethash method lsp--default-notification-handlers))))
(if handler
(funcall handler (lsp--parser-workspace p) params)
(lsp-warn "Unknown method: %s" method))))
(unless (string-prefix-p "$" method)
(lsp-warn "Unknown method: %s" method)))))

(defun lsp--on-request (p request)
"Call the appropriate handler for REQUEST, and send the return value to the server."
Expand Down

0 comments on commit 533ae71

Please sign in to comment.