aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim
diff options
context:
space:
mode:
authorGravatar Felipe Contreras <felipe.contreras@gmail.com>2013-06-02 19:49:49 -0500
committerGravatar Felipe Contreras <felipe.contreras@gmail.com>2013-06-02 19:49:49 -0500
commitbf8877fe4551ed44dc85119bb6cd1774a5e09b55 (patch)
treeba633bcd8c404b6f1e3ddf08ec5289a739fc7d48 /vim
parent2e8dc64f5fa2162d875e34b48084903fa64363bb (diff)
vim: use the old vim plugin function name
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'vim')
-rw-r--r--vim/README2
-rw-r--r--vim/notmuch.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/vim/README b/vim/README
index a6619005..d6f23350 100644
--- a/vim/README
+++ b/vim/README
@@ -44,7 +44,7 @@ This gem is not mandatory, but it's extremely recommended.
Simple:
- % gvim -c ':NotMuchR'
+ % gvim -c ':NotMuch'
Enjoy ;)
diff --git a/vim/notmuch.vim b/vim/notmuch.vim
index e0fc1400..bdf2720f 100644
--- a/vim/notmuch.vim
+++ b/vim/notmuch.vim
@@ -394,7 +394,7 @@ function! s:set_defaults()
endif
endfunction
-function! s:NotMuchR()
+function! s:NotMuch()
call s:set_defaults()
ruby << EOF
@@ -831,6 +831,6 @@ EOF
call s:folders()
endfunction
-command NotMuchR :call s:NotMuchR()
+command NotMuch :call s:NotMuch()
" vim: set noexpandtab: