We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46ce4e2 commit 3f08e2fCopy full SHA for 3f08e2f
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')
@@ -88,6 +89,9 @@ syn keyword pythonInclude import
88
89
syn keyword pythonImport import
90
syn match pythonRaiseFromStatement '\<from\>'
91
syn match pythonImport '^\s*\zsfrom\>'
92
+if s:Enabled('g:python_highlight_brackets')
93
+ syn match pythonBrackets '[()\[\]{},:]\|->'
94
+endif
95
96
97
if s:Python2Syntax()
0 commit comments