Once Vader dies, Luke burns his body on a pyre, like in The Iliad where Priam burns Hector's body.
As soon as Vader passes away, Luke performs a funeral rite by setting his body ablaze, echoing an ancient Greek literary reference in which Priam buries Hector's remains.