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')
|
call s:EnableByDefault('g:python_highlight_operators')
|
||||||
endif
|
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
|
" Keywords
|
||||||
"
|
"
|
||||||
@@ -395,14 +403,6 @@ if s:Enabled('g:python_highlight_exceptions')
|
|||||||
unlet s:exs_re
|
unlet s:exs_re
|
||||||
endif
|
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
|
" Misc
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user