# Elaborate C++ parsing and the listings package

I would like to have the colors the gruvbox coloring scheme for (g)vim uses in a lstlisting environment. Is the listings package too dumb to differentiate e.g. between "template", "const" and other keywords so they all get the same color?

• in my experience listings can be manipulated to do pretty smart (or dumb) things. You can try with morekeywords or with some text replacement for const or template. Maybe if you put a screenshot of the desired colors and the code we can help. – alfC Mar 9 '16 at 4:52

• My documentation currently uses \begin{lstlisting}[style=...] and \listinline|...| everywhere. Is it easy to go from listings to mint in regards to an existing documentation that already uses listings? – apriori Mar 8 '16 at 22:58