(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2.Request)
| 66 | } |
| 67 | |
| 68 | func (h lspHandler) Handle(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2.Request) { |
| 69 | if isFileSystemRequest(req.Method) { |
| 70 | h.Handler.Handle(ctx, conn, req) |
| 71 | return |
| 72 | } |
| 73 | go h.Handler.Handle(ctx, conn, req) |
| 74 | } |
| 75 | |
| 76 | // Handler handles Language Server Protocol requests. |
| 77 | type Handler struct { |