tpope/vim-endwise — pull request #27 by rhysd (2012-10-31 02:09:21+00:00)
Title: Add C and C++ PreProcessor support.

I add #if, #ifdef, #ifndef support.
If you type at the line which starts with them, #endif would be
added.