diff options
Diffstat (limited to 'after')
-rw-r--r-- | after/syntax/c.vim | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim index cdbdc54..75170cf 100644 --- a/after/syntax/c.vim +++ b/after/syntax/c.vim | |||
@@ -16,10 +16,7 @@ syn clear cBlock | |||
16 | syn region cBlock start=/{/ end=/}/ transparent | 16 | syn region cBlock start=/{/ end=/}/ transparent |
17 | 17 | ||
18 | " multiple single line comments in a row | 18 | " multiple single line comments in a row |
19 | syn clear cComment | 19 | syn region myCComment start="/\*" end="\*/" fold keepend transparent |
20 | syn match cComment /\v\/\/.*(\_.\/\/.*)+/ fold contains=@spell | ||
21 | syn region cComment start="\/\*" end="\*\/" | ||
22 | syn region Folded start="^\/\*" end="\*\/" fold contains=@spell | ||
23 | 20 | ||
24 | 21 | ||
25 | " let b:current_syntax = "c" | 22 | " let b:current_syntax = "c" |