7
|
1 " Vim filetype plugin file
|
|
2 " Language: C++
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
21499
|
4 " Last Change: 2020 Jul 26
|
7
|
5
|
|
6 " Only do this when not done yet for this buffer
|
|
7 if exists("b:did_ftplugin")
|
|
8 finish
|
|
9 endif
|
|
10
|
21499
|
11 " Behaves mostly just like C
|
7
|
12 runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
|
21499
|
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<'
|