8000 Rename variable to cpp_no_cpp11 · mattn/cpp-vim@a1b747c · GitHub
[go: up one dir, main page]

Skip to content

Commit a1b747c

Browse files
committed
Rename variable to cpp_no_cpp11
1 parent a41be53 commit a1b747c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

after/syntax/c.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ endif
3636
if exists("c_no_cformat")
3737
syn region cString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,@Spell extend
3838
" cCppString: same as cString, but ends at end of line
39-
if !exists("cpp_no_cpp0x") " ISO C99
40-
syn region cCppString start=+\(L\|u\|u8\|U\|R\|LR\|u8R\|uR\|UR\)\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell
39+
if !exists("cpp_no_cpp11") " ISO C++11
40+
syn region cCppString start=+\(L\|u\|u8\|U\|R\|LR\|u8R\|uR\|UR\)\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell
4141
else
42-
syn region cCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell
42+
syn region cCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=cSpecial,cFormat,@Spell
4343
endif
4444
else
4545
if !exists("c_no_c99") " ISO C99
@@ -107,7 +107,7 @@ endif
107107
" also accept <% for {, %> for }, <: for [ and :> for ] (C99)
108108
" But avoid matching <::.
109109
syn cluster cParenGroup contains=cParenError,cIncluded,cSpecial,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cUserCont,cUserLabel,cBitField,cOctalZero,@cCppOutInGroup,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom
110-
if exists("c_no_curly_error") || exists("cpp_no_cpp0x")
110+
if exists("c_no_curly_error") || exists("cpp_no_cpp11")
111111
syn region cParen transparent start='(' end=')' end='}'me=s-1 contains=ALLBUT,cBlock,@cParenGroup,cCppParen,cCppString,@Spell
112112
" cCppParen: same as cParen but ends at end-of-line; used in cDefine
113113
syn region cCppParen transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cParen,cString,@Spell

0 commit comments

Comments
 (0)
0