File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 44
55if g: pymode_motion
66
7+ if ! &magic
8+ if g: pymode_warning
9+ call pymode#error (" Pymode motion requires `&magic` option. Enable them or disable g:pymode_motion" )
10+ endif
11+ finish
12+ endif
13+
714 nnoremap <buffer> ]] :<C-U> call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
815 nnoremap <buffer> [[ :<C-U> call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
916 nnoremap <buffer> ]C :<C-U> call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
@@ -41,9 +48,11 @@ if g:pymode_rope && g:pymode_rope_completion
4148
4249 setlocal omnifunc = pymode#rope#completions
4350
44- exe " inoremap <silent> <buffer> " . g: pymode_rope_completion_bind . " <C-R>=pymode#rope#complete(0)<CR>"
45- if tolower (g: pymode_rope_completion_bind ) == ' <c-space>'
46- exe " inoremap <silent> <buffer> <Nul> <C-R>=pymode#rope#complete(0)<CR>"
47- endif
51+ if g: pymode_rope_completion_bind != " "
52+ exe " inoremap <silent> <buffer> " . g: pymode_rope_completion_bind . " <C-R>=pymode#rope#complete(0)<CR>"
53+ if tolower (g: pymode_rope_completion_bind ) == ' <c-space>'
54+ exe " inoremap <silent> <buffer> <Nul> <C-R>=pymode#rope#complete(0)<CR>"
55+ endif
56+ end
4857
4958end
Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ Open any python file and run ":call pymode#troubleshooting#Test()",
596596fix the warning or send me the output.
597597
598598
599- Rope completion is very slow
599+ Rope completion is very slow *pymode-rope-slow*
600600----------------------------
601601
602602Rope creates a project-level service directory in | .ropeproject |
You can’t perform that action at this time.
0 commit comments