Switch EDITOR initialization based on extension, as per ttscoff