Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d2401b

Browse files
committed
Load existing projects when the plugin is also being loaded. This will fix the current buffer not having any sourced settings applied.
1 parent7a531aa commit9d2401b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎plugin/pymode.vim

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,7 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
251251

252252
fun!RopeOpenExistingProject()"{{{
253253
ifisdirectory('./.ropeproject')
254-
callRopeOpenProject()
255-
" Reload current buffer
256-
"silent edit!
257-
" Does not work, looses syntax!!! argg
254+
:silentcallRopeOpenProject()
258255
return""
259256
endif
260257
endfunction"}}}
@@ -297,7 +294,7 @@ if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
297294

298295
" Hooks
299296
if!pymode#Default("g:pymode_rope_auto_project_open",1)||g:pymode_rope_auto_project_open
300-
autocmdVimEnter*callRopeOpenExistingProject()
297+
callRopeOpenExistingProject()
301298
endif
302299

303300
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp