8000 sync upstream · ChaiScript/vim-cpp@089d5d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 089d5d8

Browse files
committed
sync upstream
1 parent e666843 commit 089d5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/c.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim syntax file
22
" Language: C
33
" Maintainer: Bram Moolenaar <Bram@vim.org>
4-
" Last Change: 2015 Mar 05
4+
" Last Change: 2016 Feb 08
55

66
" Quit when a (custom) syntax file was already loaded
77
if exists("b:current_syntax")
@@ -264,7 +264,7 @@ syn keyword cStorageClass static register auto volatile extern const
264264
if exists("c_gnu")
265265
syn keyword cStorageClass inline __attribute__
266266
endif
267-
if !exists("c_no_c99")
267+
if !exists("c_no_c99") && s:ft !=# 'cpp'
268268
syn keyword cStorageClass inline restrict
269269
endif
270270
if !exists("c_no_c11")

0 commit comments

Comments
 (0)
0