Skip to content

Commit 7efb973

Browse files
committed
Merge pull request python-mode#236 from s0undt3ch/develop
Remove leftovers of auto session support
2 parents 6ce0fe1 + 328111e commit 7efb973

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
@@ -206,9 +206,6 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
206206
" `.ropeproject` subdirectory.
207207
call pymode#Default("g:pymode_rope_auto_project_open", 1)
208208

209-
" OPTION: g:pymode_rope_auto_session_manage -- bool
210-
call pymode#Default("g:pymode_rope_auto_session_manage", 0)
211-
212209
" OPTION: g:pymode_rope_enable_autoimport -- bool. Enable autoimport
213210
call pymode#Default("g:pymode_rope_enable_autoimport", 1)
214211

@@ -318,11 +315,6 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
318315
call RopeOpenExistingProject()
319316
endif
320317

321-
if !pymode#Default("g:pymode_rope_auto_session_manage", 0) || g:pymode_rope_auto_session_manage
322-
autocmd VimLeave * call RopeSaveSession()
323-
autocmd VimEnter * call RopeRestoreSession()
324-
endif
325-
326318
endif
327319

328320
" }}}

0 commit comments

Comments
 (0)