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