mirror of
https://github.com/vim-python/python-syntax.git
synced 2026-10-02 00:13:47 +08:00
Highlight builtin functions without braces
This commit is contained in:
2 files changed
+7
-7
No files matched your search
+1
-1
@@ -353,7 +353,7 @@ if s:Enabled('g:python_highlight_builtin_funcs')
|
||||
let s:funcs_re .= '|ascii|exec|memoryview|print'
|
||||
endif
|
||||
|
||||
execute 'syn match pythonBuiltinFunc ''\v\.@<!\zs<%(' . s:funcs_re . ')>\ze\('' nextgroup=pythonFunctionArgs'
|
||||
execute 'syn match pythonBuiltinFunc ''\v\.@<!\zs<%(' . s:funcs_re . ')>'' nextgroup=pythonFunctionArgs'
|
||||
unlet s:funcs_re
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user