Heat a ridged griddle pan over a high heat until smoking. Toss the aubergines and courgettes with 4 tablespoons of the oil in a bowl. Add to the pan, in batches, and cook for 1–2 minutes on each side until well charred and tender all the way through.
As you remove the batches from the pan, cut the courgette slices into 3 and the aubergine slices in half. Transfer the vegetables to a bowl with the remaining oil, vinegar, garlic, herbs, capers and chilli, and toss well to combine. Season with salt and leave to marinate for at least 20 minutes, or up to overnight, covered, in the refrigerator.
Toast the pine nuts in a dry frying pan over a low heat, stirring frequently, for 2–3 minutes, or until golden. Stir into the griddled vegetables.
Cook the pasta in a large saucepan of salted boiling water according to the packet instructions until al dente. Drain, refresh in cold water, then drain again thoroughly before stirring into the prepared griddled vegetables. Leave to stand for 10 minutes for the flavours to mingle before serving.