aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
Diffstat (limited to 'after')
-rw-r--r--after/syntax/c.vim7
1 files changed, 4 insertions, 3 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim
index 0fa1fda..d08eabd 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -13,12 +13,13 @@ syntax match Comment "//.*" contains=Todo
13 13
14" clear default group for a cBlock so we can redefine it without the fold option 14" clear default group for a cBlock so we can redefine it without the fold option
15syn clear cBlock 15syn clear cBlock
16syn region cBlock start=/{/ end=/}/ transparent 16syn region cBlock start=/{/ end=/}/ transparent
17 17
18" multiple single line comments in a row 18" multiple single line comments in a row
19syn clear cComment
19syn match cComment /\v\/\/.*(\_.\/\/.*)+/ fold 20syn match cComment /\v\/\/.*(\_.\/\/.*)+/ fold
20 21syn region cComment start="\/\*" end="\*\/"
21 22syn region Folded start="^\/\*" end="\*\/" fold
22 23
23 24
24" let b:current_syntax = "c" 25" let b:current_syntax = "c"
..