diff options
author | doy <doy@tozt.net> | 2008-12-23 01:24:14 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2008-12-23 01:24:14 -0500 |
commit | 5c8d305baf37fb1fb3b7935a482df6b94fb446c5 (patch) | |
tree | f568df61cca56af72c6a71bf80ab4a6b034737c3 | |
parent | b6189a4feda697855dde5266d0f52ecc1cb326e7 (diff) | |
download | vim-textobj-5c8d305baf37fb1fb3b7935a482df6b94fb446c5.tar.gz vim-textobj-5c8d305baf37fb1fb3b7935a482df6b94fb446c5.zip |
make the other textobj callbacks public
-rw-r--r-- | vim/plugin/textobj.vim | 4 |
1 files 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 == ',' |