Blame vim-7.0-bracket-203577.patch
|
Karsten Hopp |
c29414 |
--- vim70/runtime/syntax/c.vim.bracket 2007-02-12 09:53:30.000000000 -0500
|
|
Karsten Hopp |
c29414 |
+++ vim70/runtime/syntax/c.vim 2007-02-12 09:54:28.000000000 -0500
|
|
Karsten Hopp |
c29414 |
@@ -64,6 +64,8 @@
|
|
Karsten Hopp |
c29414 |
endif
|
|
Karsten Hopp |
c29414 |
endif
|
|
Karsten Hopp |
c29414 |
|
|
Karsten Hopp |
c29414 |
+syntax region cBlock start="{" end="}" transparent fold
|
|
Karsten Hopp |
c29414 |
+
|
|
Karsten Hopp |
c29414 |
"catch errors caused by wrong parenthesis and brackets
|
|
Karsten Hopp |
c29414 |
" also accept <% for {, %> for }, <: for [ and :> for ] (C99)
|
|
Karsten Hopp |
c29414 |
" But avoid matching <::.
|
|
Karsten Hopp |
c29414 |
@@ -148,8 +150,6 @@
|
|
Karsten Hopp |
c29414 |
syntax match cCommentError display "\*/"
|
|
Karsten Hopp |
c29414 |
syntax match cCommentStartError display "/\*"me=e-1 contained
|
|
Karsten Hopp |
c29414 |
|
|
Karsten Hopp |
c29414 |
-syntax region cBlock start="{" end="}" transparent fold
|
|
Karsten Hopp |
c29414 |
-
|
|
Karsten Hopp |
c29414 |
syn keyword cOperator sizeof
|
|
Karsten Hopp |
c29414 |
if exists("c_gnu")
|
|
Karsten Hopp |
c29414 |
syn keyword cStatement __asm__
|