Skip to content

Commit

Permalink
Merge pull request #459 from MaskRay/warn
Browse files Browse the repository at this point in the history
Don't warn unhandled notifications if protocol implementation dependent
  • Loading branch information
yyoncho authored Oct 27, 2018
2 parents 6896244 + 533ae71 commit e2edc74
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 e2edc74

Please sign in to comment.