vim-cpp-enhanced-highlight icon indicating copy to clipboard operation
vim-cpp-enhanced-highlight copied to clipboard

Configuration: let g:cpp_experimental_template_highlight = 1 breaks cast type highlight.

Open sittim opened this issue 9 years ago • 2 comments

let g:cpp_experimental_template_highlight = 1 breaks cast type highlight.

For:

  • static_cast
  • reinterpret_cast
  • const_cast

selection_022

It helps with templates, but breaks the cast.

sittim avatar Jul 07 '16 15:07 sittim

There seem to be some general issues with the template highlight currently, I'll have a look.

octol avatar Oct 17 '16 20:10 octol

Ok so this seems to be a current limitation of g:cpp_experimental_template_highlight. There is an alternative implementation that can be enabled with g:cpp_experimental_simple_template_highlight for which this works. Of course it has other limitations, mostly that it's slower.

octol avatar Oct 19 '16 21:10 octol