aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2018-05-17 00:58:44 +0200
committerMax Christian Pohle2018-05-17 00:58:44 +0200
commit588ce387a75fdf8122e38f555f532d10bce35904 (patch)
tree0db77b263dc8d341548a37de626e6734a35d89f3
parent104b19d4703879904dffb10c5f7b019e6c297683 (diff)
downloadvim-karlmarks-588ce387a75fdf8122e38f555f532d10bce35904.tar.bz2
vim-karlmarks-588ce387a75fdf8122e38f555f532d10bce35904.zip
Fixed code folding for C comments, added spell checking
-rw-r--r--after/syntax/c.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim
index c7a9bc0..cdbdc54 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -16,10 +16,10 @@ syn 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
19" syn clear cComment 19syn clear cComment
20" syn match cComment /\v\/\/.*(\_.\/\/.*)+/ fold 20syn match cComment /\v\/\/.*(\_.\/\/.*)+/ fold contains=@spell
21" syn region cComment start="\/\*" end="\*\/" 21syn region cComment start="\/\*" end="\*\/"
22" syn region Folded start="^\/\*" end="\*\/" fold 22syn region Folded start="^\/\*" end="\*\/" fold contains=@spell
23 23
24 24
25" let b:current_syntax = "c" 25" let b:current_syntax = "c"
..