Skip to content

Commit dab2370

Browse files
committed
Add some display where reasonable
1 parent 2cc00ba commit dab2370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

syntax/python.vim

+3-3
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ if s:Enabled('g:python_highlight_builtin_funcs')
376376
let s:funcs_re .= '\=@!'
377377
endif
378378

379-
execute s:funcs_re . ''''
379+
execute s:funcs_re . ''' display'
380380
unlet s:funcs_re
381381
endif
382382

@@ -385,7 +385,7 @@ endif
385385
"
386386

387387
if s:Enabled('g:python_highlight_builtin_types')
388-
syn match pythonBuiltinType '\v\.@<!<%(object|bool|int|float|tuple|str|list|dict|set|frozenset|bytearray|bytes)>'
388+
syn match pythonBuiltinType '\v\.@<!<%(object|bool|int|float|tuple|str|list|dict|set|frozenset|bytearray|bytes)>' display
389389
endif
390390

391391

@@ -402,7 +402,7 @@ if s:Enabled('g:python_highlight_exceptions')
402402
let s:exs_re .= '|BlockingIOError|ChildProcessError|ConnectionError|BrokenPipeError|ConnectionAbortedError|ConnectionRefusedError|ConnectionResetError|FileExistsError|FileNotFoundError|InterruptedError|IsADirectoryError|NotADirectoryError|PermissionError|ProcessLookupError|TimeoutError|StopAsyncIteration|ResourceWarning'
403403
endif
404404

405-
execute 'syn match pythonExClass ''\v\.@<!\zs<%(' . s:exs_re . ')>'''
405+
execute 'syn match pythonExClass ''\v\.@<!\zs<%(' . s:exs_re . ')>'' display'
406406
unlet s:exs_re
407407
endif
408408

0 commit comments

Comments
 (0)