Breastfeeding and Custody

Can breastfeeding affect custody?

My husband and I are going through separation and will be getting a divorce next year due to having to be separated a year. He lives about 10 hours away in a different state. I have already chosen to breastfeed, but he wants to fight for sole custody. Can me breastfeeding be a factor in my favor for this situation?

I have offered him visitation if he comes to my state. Being that my pediatrician said it's not recommended for babies to travel for a year after birth due to vaccinations, I am against traveling there. He wants it to where he gains full custody right after birth.

Anybody experienced with a situation like this?