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 | 6b9eb617bf91fd25a7cb7a1a03ccb1f8b4579c7d (patch) | |
tree | 1a947a5bcd887b6e26efcf05247afa02cf683ced /vim/plugin | |
parent | 28687e839bfa432aa595eb11659981c879c92969 (diff) | |
download | conf-6b9eb617bf91fd25a7cb7a1a03ccb1f8b4579c7d.tar.gz conf-6b9eb617bf91fd25a7cb7a1a03ccb1f8b4579c7d.zip |
make the other textobj callbacks public
Diffstat (limited to 'vim/plugin')
-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 == ',' |