Norbert Buchmuller wrote:

> the Boost libraries (http://www.boost.org) use the '.ipp' extension for
> some of their private C++ source files (like they use '.hpp' for their
> public header files). See the attached patch to set the filetype for
> those files.

OK.  Let me use the occasion to omit the duplicates:

" C++
au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl setf 
cpp
if has("fname_case")
  au BufNewFile,BufRead *.C,*.H setf cpp
endif

-- 
>From "know your smileys":
 :-O>-o   Smiley American tourist (note big mouth and camera)

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui