cpp.vim 468 B

123456789101112131415161718
  1. " Vim filetype plugin file
  2. " Language: C++
  3. " Maintainer: Bram Moolenaar <Bram@vim.org>
  4. " Last Change: 2020 Jul 26
  5. " Only do this when not done yet for this buffer
  6. if exists("b:did_ftplugin")
  7. finish
  8. endif
  9. " Behaves mostly just like C
  10. runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
  11. " C++ uses templates with <things>
  12. " Disabled, because it gives an error for typing an unmatched ">".
  13. " set matchpairs+=<:>
  14. " let b:undo_ftplugin ..= ' | setl matchpairs<'