summaryrefslogtreecommitdiffstats
path: root/syntax/python.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-04-14 13:17:26 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-04-14 13:17:26 +0200
commit14dc82fc4e6c0c08078f97a24a6c1639c1cc5113 (patch)
treedea8d2398a9377a0eee7786776e3cd420ce1ee89 /syntax/python.vim
parente86e0ad36ef9501acbc3e8c63a1d4fab104e47cb (diff)
downloadvim-polyglot-14dc82fc4e6c0c08078f97a24a6c1639c1cc5113.tar.gz
vim-polyglot-14dc82fc4e6c0c08078f97a24a6c1639c1cc5113.zip
Update
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
"