Skip to content

Commit 3262657

Browse files
committed
Fix ropeomni.
1 parent 6fec708 commit 3262657

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

after/plugin/pymode_rope.vim

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,14 @@ fun! RopeLuckyAssistInsertMode() "{{{
6363
endfunction "}}}
6464

6565
fun! RopeOmni(findstart, base) "{{{
66-
call RopeCodeAssist()
66+
" TODO: Fix omni
67+
if a:findstart == 1
68+
let start = col('.') - 1
69+
return start
70+
else
71+
call RopeOmniComplete()
72+
return g:pythoncomplete_completions
73+
endif
6774
endfunction "}}}
6875

6976
" Rope menu

0 commit comments

Comments
 (0)