aboutsummaryrefslogtreecommitdiff
path: root/after/syntax
diff options
context:
space:
mode:
authorMax Christian Pohle2018-11-12 01:10:33 +0100
committerMax Christian Pohle2018-11-12 01:10:33 +0100
commita693df562838c3f93fcb6055359091aab834c8e2 (patch)
treef31e5dec17312ae4ad88c98e4aa77e2a5692b5a2 /after/syntax
parent40eca42048f85d361d01842488e1ee62a1adda23 (diff)
downloadvim-karlmarks-a693df562838c3f93fcb6055359091aab834c8e2.tar.bz2
vim-karlmarks-a693df562838c3f93fcb6055359091aab834c8e2.zip
Found and added formatoptions :)
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
..