How to set vim to not indent namespace content in C++?
namespace < identifier > { < statement_list > // Unwanted indentation }
I use cpp.vim which is inspired by the Google C++ Style Guide. Among other things, that script does what you're asking.