Skip to content

Commit

Permalink
add window/showMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Dec 29, 2023
1 parent 5fd38fe commit 19f037a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ func (s *Server) handle(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2.
return s.handleDefinition(ctx, conn, req)
case "textDocument/typeDefinition":
return s.handleDefinition(ctx, conn, req)
case "window/showMessage":
return
}
return nil, &jsonrpc2.Error{Code: jsonrpc2.CodeMethodNotFound, Message: fmt.Sprintf("method not supported: %s", req.Method)}
}
Expand Down

0 comments on commit 19f037a

Please sign in to comment.