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 cbdd42b..4c3b3f0 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -34,6 +34,10 @@ set formatoptions+=1 " Don't break a line after a one-letter word.
34" open a corresponding header file 34" open a corresponding header file
35nnorem <leader>gh :execute 'edit '.findfile(substitute(expand('%:t'),'\.[ch]$','.h',''))<CR> 35nnorem <leader>gh :execute 'edit '.findfile(substitute(expand('%:t'),'\.[ch]$','.h',''))<CR>
36 36
37if filereadable("/usr/bin/vendor_perl/ack")
38 autocmd FileType c,cpp set grepprg=/usr/bin/vendor_perl/ack\ --type=cc\ --nogroup\ --column\ $*
39 autocmd FileType c,cpp set grepformat=%f:%l:%c:%m
40endif
37 41
38" multiple single line comments in a row " broken! 42" multiple single line comments in a row " broken!
39" syn region myCComment start="/\*" end="\*/" fold keepend transparent 43" syn region myCComment start="/\*" end="\*/" fold keepend transparent
..