Skip to content

Commit 8d3c0af

Browse files
committed
Add builtin function breakpoint
Fixes vim-python#46
1 parent 0a92527 commit 8d3c0af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

syntax/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ if s:Enabled('g:python_highlight_builtin_funcs')
355355
let s:funcs_re .= '|print'
356356
endif
357357
else
358-
let s:funcs_re .= '|ascii|exec|print'
358+
let s:funcs_re .= '|ascii|breakpoint|exec|print'
359359
endif
360360

361361
let s:funcs_re = 'syn match pythonBuiltinFunc ''\v\.@<!\zs<%(' . s:funcs_re . ')>'

tests/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ async def Test
5252
any()
5353
bin()
5454
bool()
55+
breakpoint()
5556
bytearray()
5657
callable()
5758
chr()

0 commit comments

Comments
 (0)