mirror of
https://github.com/vim-python/python-syntax.git
synced 2026-01-26 21:09:13 +08:00
@@ -59,6 +59,14 @@ if s:Enabled('g:python_highlight_all')
|
||||
call s:EnableByDefault('g:python_highlight_operators')
|
||||
endif
|
||||
|
||||
"
|
||||
" Function calls
|
||||
"
|
||||
|
||||
if s:Enabled('g:python_highlight_func_calls')
|
||||
syn match pythonFunctionCall '\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\ze\%(\s*(\)'
|
||||
endif
|
||||
|
||||
"
|
||||
" Keywords
|
||||
"
|
||||
@@ -395,14 +403,6 @@ if s:Enabled('g:python_highlight_exceptions')
|
||||
unlet s:exs_re
|
||||
endif
|
||||
|
||||
"
|
||||
" Function calls
|
||||
"
|
||||
|
||||
if s:Enabled('g:python_highlight_func_calls')
|
||||
syn match pythonFunctionCall '\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\ze\%(\s*(\)'
|
||||
endif
|
||||
|
||||
"
|
||||
" Misc
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user