\ProvidesFile{listings}[Configure listings with minted]
% Fix backticks
\usepackage{upquote}
\usepackage[section, cache=true,]{minted}

\renewcommand{\MintedPygmentize}{/usr/bin/pygmentize}

\usemintedstyle{manni}

\newminted[ccode]{c}%
{
  linenos=true,
  autogobble=true,
  breaklines=true,
  showspaces=false,
  showtabs=false,
  tabsize=2,
  frame=single,
  fontsize=\small,
}

\newminted[cppcode]{cpp}%
{
  linenos=true,
  autogobble=true,
  breaklines=true,
  showspaces=false,
  showtabs=false,
  tabsize=2,
  frame=single,
  fontsize=\small,
}

\newminted[haskell]{haskell}
{
  linenos=true,
  autogobble=true,
  breaklines=true,
  showspaces=false,
  showtabs=false,
  tabsize=2,
  frame=single,
  fontsize=\small,
}

\newminted[pycode]{python}%
{
  linenos=true,
  autogobble=true,
  breaklines=true,
  showspaces=false,
  showtabs=false,
  tabsize=2,
  frame=single,
  fontsize=\small,
}

\newmintinline[ccmd]{c}{}
\newmintinline[cppcmd]{cpp}{}
\newmintinline[haskellcmd]{haskell}{}
\newmintinline[pycmd]{python}{}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../wtfunctional"
%%% End:
