X Tutup
Skip to content

Commit be3544e

Browse files
committed
Fix an issue that default syntax file doesn't load when a g:pymode_syntax is true
1 parent 9956aba commit be3544e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
call pymode#Default('g:pymode_syntax', 1)
55

66
" DESC: Disable script loading
7-
if pymode#Default('b:current_syntax', 'python') || !g:pymode_syntax
7+
if !g:pymode_syntax || pymode#Default('b:current_syntax', 'python')
88
finish
99
endif
1010

0 commit comments

Comments
 (0)
X Tutup