annotate runtime/ftplugin/cpp.vim @ 2091:95b659982b7c
v7.2.375
updated for version 7.2.375
Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd.
(Dominique Pelle)
Solution: Clear w_valid when entering another buffer.
author |
Bram Moolenaar <bram@zimbu.org> |
date |
Wed, 24 Feb 2010 16:58:36 +0100 |
parents |
3fc0f57ecb91 |
children |
3a1ed539ae2a |
rev |
line source |
7
|
1 " Vim filetype plugin file
|
|
2 " Language: C++
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
4 " Last Change: 2001 Jan 15
|
|
5
|
|
6 " Only do this when not done yet for this buffer
|
|
7 if exists("b:did_ftplugin")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Behaves just like C
|
|
12 runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
|