File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
" Vim syntax file
2
2
" Language: C
3
3
" Maintainer: Bram Moolenaar <Bram@vim.org>
4
- " Last Change: 2015 Mar 05
4
+ " Last Change: 2016 Feb 08
5
5
6
6
" Quit when a (custom) syntax file was already loaded
7
7
if exists (" b:current_syntax" )
@@ -264,7 +264,7 @@ syn keyword cStorageClass static register auto volatile extern const
264
264
if exists (" c_gnu" )
265
265
syn keyword cStorageClass inline __attribute__
266
266
endif
267
- if ! exists (" c_no_c99" )
267
+ if ! exists (" c_no_c99" ) && s: ft !=# ' cpp '
268
268
syn keyword cStorageClass inline restrict
269
269
endif
270
270
if ! exists (" c_no_c11" )
Original file line number Diff line number Diff line change 2
2
" Language: C++
3
3
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
4
4
" Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
5
- " Last Change: 2015 Sep 23
5
+ " Last Change: 2015 Nov 10
6
6
7
7
" For version 5.x: Clear all syntax items
8
8
" For version 6.x: Quit when a syntax file was already loaded
You can’t perform that action at this time.
0 commit comments