In a Riemannian manifold there is a canonical connection, the Levi-Civita connection, which imposes compatibility with respect to the metric and symmetry. If the Riemannian metric comes from a Hermitian metric on a complex manifold, we would also like some compatibility with respect to the complex structure. More concretely, we're looking for a connection $\nabla$ that is compatible with the Riemannian metric ($\nabla g=0$) and with the Hermitian metric ($\nabla \tilde{h}=0$), which necessarily implies $\nabla\omega=0$.

However, since $\omega(u,v)=g(Ju,v)$, the following relation holds:

and this relation implies that for a Hermitian manifold $(M,J,h)$ the following are equivalent

1. $\nabla J=0$
2. $\nabla \omega=0$
3. $\mathrm{d} \omega=0$

A Kähler manifold is a Hermitian manifold satisfying the equivalent statements above, and in this case the Levi-Civita connection is compatible with the Hermitian metric.