aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authorMax Christian Pohle2018-11-20 23:56:02 +0100
committerMax Christian Pohle2018-11-20 23:56:02 +0100
commit9e36bdf1a060a2ffcb0172eb42e954c475ec3f70 (patch)
tree9ec87e653e13b4fc077789d028e22e9576dabbf1 /after
parenta693df562838c3f93fcb6055359091aab834c8e2 (diff)
downloadvim-9e36bdf1a060a2ffcb0172eb42e954c475ec3f70.tar.bz2
vim-9e36bdf1a060a2ffcb0172eb42e954c475ec3f70.zip
Improved Tab/Statusline, e.g. fixed spacing
also added <leader>gh for c files, guess what that does ;)
Diffstat (limited to 'after')
-rw-r--r--after/syntax/c.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim
index 0bacea0..cbdd42b 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -29,6 +29,12 @@ let g:load_doxygen_syntax=1
29set formatoptions+=j " Where it makes sense, remove a comment leader when joining lines. 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. 30set formatoptions+=1 " Don't break a line after a one-letter word.
31 31
32
33
34" open a corresponding header file
35nnorem <leader>gh :execute 'edit '.findfile(substitute(expand('%:t'),'\.[ch]$','.h',''))<CR>
36
37
32" multiple single line comments in a row " broken! 38" multiple single line comments in a row " broken!
33" syn region myCComment start="/\*" end="\*/" fold keepend transparent 39" syn region myCComment start="/\*" end="\*/" fold keepend transparent
34 40
..