Mercurial > vim
annotate runtime/ftplugin/cpp.vim @ 35171:76c328389c46 default tip
Added tag v9.1.0411 for changeset ed3a90cecb19f1d38b0a9bbb9bf6ed60bace72f4
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 May 2024 09:30:05 +0200 |
parents | 4027cefc2aab |
children |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
2 " Language: C++ | |
32770
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
21499
diff
changeset
|
3 " Maintainer: The Vim Project <https://github.com/vim/vim> |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
21499
diff
changeset
|
4 " Last Change: 2023 Aug 10 |
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
21499
diff
changeset
|
5 " Former Maintainer: Bram Moolenaar <Bram@vim.org> |
7 | 6 |
7 " Only do this when not done yet for this buffer | |
8 if exists("b:did_ftplugin") | |
9 finish | |
10 endif | |
11 | |
21499 | 12 " Behaves mostly just like C |
7 | 13 runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim |
21499 | 14 |
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<' |