blob: f9d31cbec357ff971ef9f8ee49b30c7d792f6174 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim filetype plugin file
2" Language: C++
3" Maintainer: Bram Moolenaar <Bram@vim.org>
Bram Moolenaar2547aa92020-07-26 17:00:44 +02004" Last Change: 2020 Jul 26
Bram Moolenaar071d4272004-06-13 20:20:40 +00005
6" Only do this when not done yet for this buffer
7if exists("b:did_ftplugin")
8 finish
9endif
10
Bram Moolenaar2547aa92020-07-26 17:00:44 +020011" Behaves mostly just like C
Bram Moolenaar071d4272004-06-13 20:20:40 +000012runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
Bram Moolenaar2547aa92020-07-26 17:00:44 +020013
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<'