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 4
4
5
5
if g: pymode_motion
6
6
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
+
7
14
nnoremap <buffer> ]] :<C-U> call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
8
15
nnoremap <buffer> [[ :<C-U> call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
9
16
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
41
48
42
49
setlocal omnifunc = pymode#rope#completions
43
50
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
48
57
49
58
end
Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ Open any python file and run ":call pymode#troubleshooting#Test()",
596
596
fix the warning or send me the output.
597
597
598
598
599
- Rope completion is very slow
599
+ Rope completion is very slow *pymode-rope-slow*
600
600
----------------------------
601
601
602
602
Rope creates a project-level service directory in | .ropeproject |
You can’t perform that action at this time.
0 commit comments