I am writing a document containing lost of snippets of code, and I've defined an environment using tcblisting from the tcolorbox package to do this. The environments work fine.
What I want to do though is to suppress paragraph indentation afterwards so that
\begin{mycode}
lots of stuff using my environment
\end{mycode}
which shows that Santa Claus \emph{does} exist,\ldots
has the effect of not indenting "which shows that..." I understand that the after parameter is what I need here; this is described in the tcolorbox manual (for v3.12) in section 3.12 (page 62). However, I can't get the result I want; for example after={\par\baselineskip\parindent=0pt} doesn't work.
I can go through and put a \noindent at all the places, but surely there's a way I can do it in the environment definition itself?
Is there a simple way to do this?


\documentclassand ending with\end{document}? It'll get you answers much faster than providing code-snippets. – Werner Jan 20 '15 at 02:16verbatimorenumeratewould not indent the text. It appears tcblisting doesn't implement that which is a shame, but Harish's answer provides a workaround – David Carlisle Jan 20 '15 at 12:21