c.vim
c.vim copied to clipboard
See if it's possible to use variables in patterns
In particular, recognizing an identifier in C is quite easy (\I\i*
) but in C++, not so much (because there can be namespaces and templates). See if we can write something that reliably matches an identifier, and use it in the several places where we need to do that.