As a writer, this is one thing I’m always interested in. Unfortunately, it’s not the most easy thing to study, but there is some research into how meditation can affect our creativity. Researchers at Leiden University in the Netherlands studied both focused-attention and open-monitoring mediation to see if there was any improvement in creativity afterwards.
I meditate off and on. To be honest, it's "off" when my writing's going well. When it isn't, it's back to meditation.