We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb93f9e commit dcf5593Copy full SHA for dcf5593
ftplugin/python/pymode.vim
@@ -2,16 +2,17 @@ if pymode#Default('b:pymode', 1)
2
finish
3
endif
4
5
+
6
+" Parse pymode modeline
7
+call pymode#Modeline()
8
9
10
" Syntax highlight
11
if pymode#Option('syntax')
12
let python_highlight_all=1
13
14
15
-" Parse pymode modeline
-call pymode#Modeline()
-
16
" Options {{{
17
18
" Python indent options
syntax/python.vim
@@ -1,10 +1,7 @@
1
" vim: ft=vim:fdm=marker
-" OPTION: g:pymode_syntax -- bool.
-call pymode#Default('g:pymode_syntax', 1)
" DESC: Disable script loading
-if !g:pymode_syntax || pymode#Default('b:current_syntax', 'python')
+if !pymode#Option('syntax') || pymode#Default('b:current_syntax', 'python')
0 commit comments