I use latex to type a lot of code using the minted package. Basically the layout of my latex source is as follows:
... text ... \begin{cppcode} class GenericClass{ public: int publicMember; private: int privateMember; } \end{cppcode} ... text ...
Is there anyway to tell Vim to highlight the code inside \begin{cppcode} \end{cppcode }, as if it's C++ code?
source share