The Nigerian government on Saturday vowed to keep fighting violent extremism and said it hoped Washington would remain a close ally after President Donald Trump added the West African nation to a U.S.