In basically every QFT book the Yang-Mills strength tensor $F_{\mu\nu}$ is defined as $$F_{\mu\nu}=[D_\mu,D_\nu]$$ where $D_\mu$ is the covariant derivative $$D_\mu=\partial_\mu-A_\mu$$ and $A_\mu$ is the Yang-Mills gauge field.
Explicitly working out the commutator most books obtain (see Peskin 15.15, Srednicki 69.14) $$F_{\mu\nu}=-\partial_\mu A_\nu +\partial_\nu A_\mu-[A_\mu,A_\nu]$$
However when I work out the commutator I get an extra term $$A_\nu\partial_\mu-A_\mu\partial_\nu$$
This term isn't mentioned in any of the resources I've come across and I don't know what to do with it. Obviously it vanishes somehow. So,
Question; Why does this term vanish?