summaryrefslogtreecommitdiffstats
path: root/syntax/python.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/python.vim')
-rw-r--r--syntax/python.vim11
1 files changed, 6 insertions, 5 deletions
diff --git a/syntax/python.vim b/syntax/python.vim
index 13b8d74e..101dbc2f 100644
--- a/syntax/python.vim
+++ b/syntax/python.vim
@@ -43,11 +43,6 @@ call s:EnableByDefault('g:python_highlight_builtin_funcs_kwarg')
if s:Enabled('g:python_highlight_all')
call s:EnableByDefault('g:python_highlight_builtins')
- if s:Enabled('g:python_highlight_builtins')
- call s:EnableByDefault('g:python_highlight_builtin_objs')
- call s:EnableByDefault('g:python_highlight_builtin_funcs')
- call s:EnableByDefault('g:python_highlight_builtin_types')
- endif
call s:EnableByDefault('g:python_highlight_exceptions')
call s:EnableByDefault('g:python_highlight_string_formatting')
call s:EnableByDefault('g:python_highlight_string_format')
@@ -61,6 +56,12 @@ if s:Enabled('g:python_highlight_all')
call s:EnableByDefault('g:python_highlight_operators')
endif
+if s:Enabled('g:python_highlight_builtins')
+ call s:EnableByDefault('g:python_highlight_builtin_objs')
+ call s:EnableByDefault('g:python_highlight_builtin_funcs')
+ call s:EnableByDefault('g:python_highlight_builtin_types')
+endif
+
"
" Function calls
"