Skip to content

Commit 328111e

Browse files
committed
Remove leftovers of auto session support. Should have been removed on a previous commit.
1 parent d17f039 commit 328111e

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

autoload/pymode/troubleshooting.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ fun! pymode#troubleshooting#Test() "{{{
7171
call append('$', 'let pymode_rope_autocomplete_map = ' . string(g:pymode_rope_autocomplete_map))
7272
call append('$', 'let pymode_rope_auto_project = ' . string(g:pymode_rope_auto_project))
7373
call append('$', 'let pymode_rope_auto_project_open = ' . string(g:pymode_rope_auto_project_open))
74-
call append('$', 'let pymode_rope_auto_session_manage = ' . string(g:pymode_rope_auto_session_manage))
7574
end
7675
call append('$', 'let pymode_folding = ' . string(g:pymode_folding))
7776
call append('$', 'let pymode_breakpoint = ' . string(g:pymode_breakpoint))

ftplugin/python/init-pymode.vim

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
201201
" `.ropeproject` subdirectory.
202202
call pymode#Default("g:pymode_rope_auto_project_open", 1)
203203

204-
" OPTION: g:pymode_rope_auto_session_manage -- bool
205-
call pymode#Default("g:pymode_rope_auto_session_manage", 0)
206-
207204
" OPTION: g:pymode_rope_enable_autoimport -- bool. Enable autoimport
208205
call pymode#Default("g:pymode_rope_enable_autoimport", 1)
209206

@@ -313,11 +310,6 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
313310
call RopeOpenExistingProject()
314311
endif
315312

316-
if !pymode#Default("g:pymode_rope_auto_session_manage", 0) || g:pymode_rope_auto_session_manage
317-
autocmd VimLeave * call RopeSaveSession()
318-
autocmd VimEnter * call RopeRestoreSession()
319-
endif
320-
321313
endif
322314

323315
" }}}

0 commit comments

Comments
 (0)