Thanks @egreg! – Your example with the verbments package works very well. But I was looking for a solution for the listings package, so I can't accept this as an answer … :-/ Also I'm missing many options with the verbments package that I'm using wit the listings package. But I really like the lexer method used by pygmentize! Thanks for your hints about compatibility and not recommended packages, too. :)

Thanks @egreg! – Your example with the verbments package works very well. But I was looking for a solution for the listings package, so I can't accept this as an answer … :-/ Also I'm missing many options with the verbments package that I'm using wit the listings package. But I really like the lexer method used by pygmentize! Thanks for your hints about compatibility and not recommended packages, too. :)