view runtime/ftplugin/cpp.vim @ 32483:933cec0b89dc v9.0.1573

patch 9.0.1573: error for function name has wrong line number Commit: https://github.com/vim/vim/commit/d4a9b7f61475f3166cce92b0bad748e8c1eb51fe Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 23 14:48:42 2023 +0100 patch 9.0.1573: error for function name has wrong line number Problem: Error for function name has wrong line number. Solution: Set the line number before giving the error.
author Bram Moolenaar <Bram@vim.org>
date Tue, 23 May 2023 16:00:06 +0200
parents 3a1ed539ae2a
children 4027cefc2aab
line wrap: on
line source

" Vim filetype plugin file
" Language:	C++
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2020 Jul 26

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif

" Behaves mostly just like C
runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim

" C++ uses templates with <things>
" Disabled, because it gives an error for typing an unmatched ">".
" set matchpairs+=<:>
" let b:undo_ftplugin ..= ' | setl matchpairs<'