Skip to content

Commit 64cf32f

Browse files
committed
Remove pymode_rope_look_project
1 parent cf8ddc7 commit 64cf32f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Changelog
3535
* Options added:
3636
'pymode_rope_regenerate_on_write', 'pymode_rope_completion',
3737
'pymode_rope_complete_on_dot', 'pymode_lint_sort',
38-
'pymode_rope_look_project', 'pymode_lint_unmodified'
38+
'pymode_rope_lookup_project', 'pymode_lint_unmodified'
3939

4040
* Commands added:
4141
'PymodeVirtualenv'

doc/pymode.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,9 @@ rope finds ``.ropeproject`` in a parent dir, it sets the project for all child
377377
dirs and the scan may be slow for so many dirs and files.
378378

379379
Enable search |.ropeproject| in parent's directories
380-
*'g:pymode_rope_look_project'*
380+
*'g:pymode_rope_lookup_project'*
381381
>
382-
let g:pymode_rope_look_project = 1
382+
let g:pymode_rope_lookup_project = 1
383383
384384
385385
Show documentation for element under cursor ~
@@ -641,7 +641,7 @@ Solutions:
641641
in the current dir.
642642
- Run ``:PymodeRopeNewProject`` to make rope create ``.ropeproject`` in the
643643
current dir.
644-
- Set |'g:pymode_rope_look_project'| to 0 for prevent searching in parent
644+
- Set |'g:pymode_rope_lookup_project'| to 0 for prevent searching in parent
645645
dirs.
646646

647647

plugin/pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ call pymode#default('g:pymode_breakpoint_cmd', '')
148148
call pymode#default('g:pymode_rope', 1)
149149

150150
" If project hasnt been finded in current working directory, look at parents directory
151-
call pymode#default('g:pymode_rope_look_project', 1)
151+
call pymode#default('g:pymode_rope_lookup_project', 1)
152152

153153
" Enable Rope completion
154154
call pymode#default('g:pymode_rope_completion', 1)

pymode/rope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def get_ctx(*args, **kwargs):
308308
return resources.get(path)
309309

310310
project_path = os.path.dirname(vim.eval('getcwd()'))
311-
if int(vim.eval('g:pymode_rope_look_project')):
311+
if int(vim.eval('g:pymode_rope_lookup_project')):
312312
project_path = look_ropeproject(project_path)
313313

314314
ctx = projects.get(project_path)

0 commit comments

Comments
 (0)