Skip to content

Commit 18370c7

Browse files
committed
Fix undefined b:pymode_modified variable
1 parent 00c6c75 commit 18370c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ftplugin/python/pymode.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ if !g:pymode || pymode#default('b:pymode', 1)
22
finish
33
endif
44

5+
let b:pymode_modified = &modified
6+
57
" Init paths
68
if !pymode#default('g:pymode_init', 1)
79
call pymode#init(expand('<sfile>:p:h:h:h'), g:pymode_paths)

0 commit comments

Comments
 (0)