File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,11 @@ if pymode#Option('rope')
105105 exe " noremap <silent> <buffer> " . g: pymode_rope_short_prefix . " m :emenu Rope . <TAB>"
106106 inoremap <silent> <buffer> <S-TAB> <C-R> =RopeLuckyAssistInsertMode()<CR>
107107
108- let s: prascm = g: pymode_rope_always_show_complete_menu ? " <C-P>" : " "
109- exe " inoremap <silent> <buffer> <Nul> <C-R>=RopeCodeAssistInsertMode()<CR>" . s: prascm
110- exe " inoremap <silent> <buffer> <C-space> <C-R>=RopeCodeAssistInsertMode()<CR>" . s: prascm
108+ if g: pymode_rope_map_space
109+ let s: prascm = g: pymode_rope_always_show_complete_menu ? " <C-P>" : " "
110+ exe " inoremap <silent> <buffer> <Nul> <C-R>=RopeCodeAssistInsertMode()<CR>" . s: prascm
111+ exe " inoremap <silent> <buffer> <c-space> <C-R>=RopeCodeAssistInsertMode()<CR>" . s: prascm
112+ endif
111113
112114endif
113115
Original file line number Diff line number Diff line change @@ -211,6 +211,9 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
211211 " OPTION: g:pymode_rope_short_prefix -- string.
212212 call pymode#Default (" g:pymode_rope_short_prefix" , " <C-c>" )
213213
214+ " OPTION: g:pymode_rope_map_space -- string.
215+ call pymode#Default (" g:pymode_rope_map_space" , 1 )
216+
214217 " OPTION: g:pymode_rope_vim_completion -- bool.
215218 call pymode#Default (" g:pymode_rope_vim_completion" , 1 )
216219
You can’t perform that action at this time.
0 commit comments