comparison runtime/syntax/cpp.vim @ 23666:96206643bd9f

Update runtime files. Commit: https://github.com/vim/vim/commit/98a29d00a48e15a50e2850e1a29b7d475c531b0c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 18 19:55:44 2021 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Jan 2021 20:00:09 +0100
parents 180a1c5175f6
children e69e7133c9cf
comparison
equal deleted inserted replaced
23665:f22b9e522fb3 23666:96206643bd9f
1 " Vim syntax file 1 " Vim syntax file
2 " Language: C++ 2 " Language: C++
3 " Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp) 3 " Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
4 " Previous Maintainer: Ken Shan <ccshan@post.harvard.edu> 4 " Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
5 " Last Change: 2019 Dec 18 5 " Last Change: 2021 Jan 12
6 6
7 " quit when a syntax file was already loaded 7 " quit when a syntax file was already loaded
8 if exists("b:current_syntax") 8 if exists("b:current_syntax")
9 finish 9 finish
10 endif 10 endif
11
12 " inform C syntax that the file was included from cpp.vim
13 let b:filetype_in_cpp_family = 1
11 14
12 " Read the C syntax to start with 15 " Read the C syntax to start with
13 runtime! syntax/c.vim 16 runtime! syntax/c.vim
14 unlet b:current_syntax 17 unlet b:current_syntax
15 18