Permalink
Browse files

Add echo function

  • Loading branch information...
1 parent 5175a88 commit e3ffa32183efc3176d4766871439a7ec34916816 @kmnk committed Oct 31, 2012
Showing with 8 additions and 0 deletions.
  1. +4 −0 autoload/giti.vim
  2. +4 −0 dot.vimrc.test
View
@@ -121,6 +121,10 @@ function! giti#diffthis()"{{{
diffthis
endfunction"}}}
+function! giti#print(string)"{{{
+ echo a:string
+endfunction"}}}
+
" local functions {{{
function! s:handle_error(res, param)"{{{
if v:shell_error
View
@@ -25,3 +25,7 @@ endfunction"}}}
function! giti#diffthis()"{{{
return 'mocked_diffthis'
endfunction"}}}
+function! giti#print(string)"{{{
+ let b:print_called_with = a:string
+ return 'mocked_print'
+endfunction"}}}

0 comments on commit e3ffa32

Please sign in to comment.