Simplify C/C++ {} matching
This commit is contained in:
parent
39d8230c75
commit
d6fafcf4c2
@ -32,8 +32,6 @@ if exists('g:c_doxygen') && g:c_doxygen
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Match curly braces with cDelimiter highlight group
|
" Match curly braces with cDelimiter highlight group
|
||||||
syn match cCurlyError "}"
|
|
||||||
syn region cBlock matchgroup=cDelimiter start="{" end="}" contains=ALLBUT,cBadBlock,cCurlyError,@cParenGroup,cErrInParen,cCppParen,cErrInBracket,cCppBracket,@cStringGroup,@Spell fold
|
|
||||||
syn region cBlock matchgroup=cDelimiter start="{" end="}" transparent fold
|
syn region cBlock matchgroup=cDelimiter start="{" end="}" transparent fold
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user