We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48cd0ab commit 57cbc96Copy full SHA for 57cbc96
syntax/python.vim
@@ -52,6 +52,7 @@ if s:Enabled('g:python_highlight_all')
52
call s:EnableByDefault('g:python_highlight_func_calls')
53
call s:EnableByDefault('g:python_highlight_class_vars')
54
call s:EnableByDefault('g:python_highlight_operators')
55
+ call s:EnableByDefault('g:python_highlight_brackets')
56
endif
57
58
if s:Enabled('g:python_highlight_builtins')
@@ -89,6 +90,9 @@ syn keyword pythonInclude import
89
90
syn keyword pythonImport import
91
syn match pythonRaiseFromStatement '\<from\>'
92
syn match pythonImport '^\s*\zsfrom\>'
93
+if s:Enabled('g:python_highlight_brackets')
94
+ syn match pythonBrackets '[()\[\]{},:]\|->'
95
+endif
96
97
98
if s:Python2Syntax()
0 commit comments