This reuses the g:c_syntax_for_h to determine whether the header should be ObjC or ObjC++.
Ideally this would be shipped upstream as well.
Headers that are ObjC++ are never set correctly. This reuses the g:c_…
…syntax_for_h to determine whether the header should be ObjC or ObjC++.
Hmmm...it seems my comment disappeared when I closed the pull request so let me repeat what I said.
First of all, thanks for the patch. Since this is a patch against the core Vim codebase I ask you to please submit it to the vim_dev Google group. Once it is merged there MacVim will pick up on the change once the runtime files are updated.