diff options
Diffstat (limited to 'after')
| -rw-r--r-- | after/syntax/c.vim | 6 |
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 | |||
| 29 | set formatoptions+=j " Where it makes sense, remove a comment leader when joining lines. | 29 | set formatoptions+=j " Where it makes sense, remove a comment leader when joining lines. |
| 30 | set formatoptions+=1 " Don't break a line after a one-letter word. | 30 | set formatoptions+=1 " Don't break a line after a one-letter word. |
| 31 | 31 | ||
| 32 | |||
| 33 | |||
| 34 | " open a corresponding header file | ||
| 35 | nnorem <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 | ||
