From 5c8d305baf37fb1fb3b7935a482df6b94fb446c5 Mon Sep 17 00:00:00 2001 From: doy Date: Tue, 23 Dec 2008 01:24:14 -0500 Subject: make the other textobj callbacks public --- vim/plugin/textobj.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/plugin/textobj.vim b/vim/plugin/textobj.vim index 3578a72..fbf9a4a 100644 --- a/vim/plugin/textobj.vim +++ b/vim/plugin/textobj.vim @@ -115,7 +115,7 @@ function s:textobj_regex(inner, count) endfunction " }}} " f for folds {{{ -function s:textobj_fold(inner, count) +function Textobj_fold(inner, count) if foldlevel(line('.')) == 0 throw 'no-match' endif @@ -128,7 +128,7 @@ function s:textobj_fold(inner, count) endfunction " }}} " , for function arguments {{{ -function s:textobj_arg(inner, count) +function Textobj_arg(inner, count) let pos = getpos('.') let curchar = getline(pos[1])[pos[2] - 1] if curchar == ',' -- cgit v1.2.3-54-g00ecf