aboutsummaryrefslogtreecommitdiffstats
path: root/vim/plugin/textobj.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/plugin/textobj.vim')
-rw-r--r--vim/plugin/textobj.vim4
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 == ','