blob: fc92935a151fe3aad8696c38aa65d6e103d97e85 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim filetype plugin file
2" Language: C++
Christian Brabandte978b452023-08-13 10:33:05 +02003" Maintainer: The Vim Project <https://github.com/vim/vim>
4" Last Change: 2023 Aug 10
5" Former Maintainer: Bram Moolenaar <Bram@vim.org>
Bram Moolenaar071d4272004-06-13 20:20:40 +00006
7" Only do this when not done yet for this buffer
8if exists("b:did_ftplugin")
9 finish
10endif
11
Bram Moolenaar2547aa92020-07-26 17:00:44 +020012" Behaves mostly just like C
Bram Moolenaar071d4272004-06-13 20:20:40 +000013runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
Bram Moolenaar2547aa92020-07-26 17:00:44 +020014
15" C++ uses templates with <things>
16" Disabled, because it gives an error for typing an unmatched ">".
17" set matchpairs+=<:>
18" let b:undo_ftplugin ..= ' | setl matchpairs<'