Add builtin function breakpoint

Fixes #46
This commit is contained in:
nfnty
2019-01-09 15:59:09 +00:00
parent 0a925278f7
commit 8d3c0af775
2 changed files with 2 additions and 1 deletions

View File

@@ -355,7 +355,7 @@ if s:Enabled('g:python_highlight_builtin_funcs')
let s:funcs_re .= '|print' let s:funcs_re .= '|print'
endif endif
else else
let s:funcs_re .= '|ascii|exec|print' let s:funcs_re .= '|ascii|breakpoint|exec|print'
endif endif
let s:funcs_re = 'syn match pythonBuiltinFunc ''\v\.@<!\zs<%(' . s:funcs_re . ')>' let s:funcs_re = 'syn match pythonBuiltinFunc ''\v\.@<!\zs<%(' . s:funcs_re . ')>'

View File

@@ -52,6 +52,7 @@ all()
any() any()
bin() bin()
bool() bool()
breakpoint()
bytearray() bytearray()
callable() callable()
chr() chr()