octol / vim-cpp-enhanced-highlight

Additional Vim syntax highlighting for C++ (including C++11/14/17)
MIT License
1.06k stars 149 forks source link

Add syntax highlighting for .tpp or .ipp files #87

Closed mgonnav closed 3 years ago

mgonnav commented 3 years ago

I guess the only thing needed is to make it use the cpp.vim configuration, but I can't figure out how to do it. I use SpaceVim, btw.

mgonnav commented 3 years ago

My bad. Only had to add au BufNewFile,BufRead *.tpp set filetype=cpp to my vimrc.