@@ -32,15 +32,15 @@ endfunction "}}}
32
32
fun ! pymode#motion#select (pattern, inner) " {{{
33
33
let cnt = v: count1 - 1
34
34
let orig = getpos (' .' )[1 :2 ]
35
- let snum = s: BlockStart (orig[0 ], a: pattern )
35
+ let snum = pymode#motion# BlockStart (orig[0 ], a: pattern )
36
36
if getline (snum) !~ a: pattern
37
37
return 0
38
38
endif
39
- let enum = s: BlockEnd (snum, indent (snum))
39
+ let enum = pymode#motion# BlockEnd (snum, indent (snum))
40
40
while cnt
41
41
let lnum = search (a: pattern , ' nW' )
42
42
if lnum
43
- let enum = s: BlockEnd (lnum, indent (lnum))
43
+ let enum = pymode#motion# BlockEnd (lnum, indent (lnum))
44
44
call cursor (enum , 1 )
45
45
endif
46
46
let cnt = cnt - 1
@@ -58,7 +58,7 @@ fun! pymode#motion#select(pattern, inner) "{{{
58
58
endfunction " }}}
59
59
60
60
61
- fun ! s: BlockStart (lnum, ... ) " {{{
61
+ fun ! pymode#motion# BlockStart (lnum, ... ) " {{{
62
62
let pattern = a: 0 ? a: 1 : ' ^\s*\(@\|class\s.*:\|def\s\)'
63
63
let lnum = a: lnum + 1
64
64
let indent = 100
@@ -82,7 +82,7 @@ fun! s:BlockStart(lnum, ...) "{{{
82
82
endfunction " }}}
83
83
84
84
85
- fun ! s: BlockEnd (lnum, ... ) " {{{
85
+ fun ! pymode#motion# BlockEnd (lnum, ... ) " {{{
86
86
let indent = a: 0 ? a: 1 : indent (a: lnum )
87
87
let lnum = a: lnum
88
88
while lnum
0 commit comments