( buffer_number, line_num, prop_id, prop_type )
| 381 | |
| 382 | |
| 383 | def RemoveTextProperty( buffer_number, line_num, prop_id, prop_type ): |
| 384 | if not VimIsNeovim(): |
| 385 | p = { |
| 386 | 'bufnr': buffer_number, |
| 387 | 'id': prop_id, |
| 388 | 'type': prop_type, |
| 389 | 'both': 1, |
| 390 | 'all': 1 |
| 391 | } |
| 392 | vim.eval( f'prop_remove( { p }, { line_num } )' ) |
| 393 | else: |
| 394 | vim.eval( f'nvim_buf_del_extmark( { buffer_number }, ' |
| 395 | f'{ YCM_NEOVIM_NS_ID }, ' |
| 396 | f'{ prop_id } )' ) |
| 397 | |
| 398 | |
| 399 | # Clamps the line and column numbers so that they are not past the contents of |
no test coverage detected