aboutsummaryrefslogtreecommitdiff
path: root/after/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax')
-rw-r--r--after/syntax/c.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim
index 301cd90..0bacea0 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -25,6 +25,10 @@ syn region cBlock start=/{/ end=/}/ transparent
25" configure c.vim so that it automatically allows doxygen like comments 25" configure c.vim so that it automatically allows doxygen like comments
26let g:load_doxygen_syntax=1 26let g:load_doxygen_syntax=1
27 27
28
29set formatoptions+=j " Where it makes sense, remove a comment leader when joining lines.
30set formatoptions+=1 " Don't break a line after a one-letter word.
31
28" multiple single line comments in a row " broken! 32" multiple single line comments in a row " broken!
29" syn region myCComment start="/\*" end="\*/" fold keepend transparent 33" syn region myCComment start="/\*" end="\*/" fold keepend transparent
30 34
..