Remove redraw_listener if callback throw error.

Open
#21,121 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 13 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
50/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
vim
Domain
tooling

Research direction

Start with timer_start()'s repeat handling, then trace how listener and redraw_listener callbacks handle thrown errors. Confirm the expected cleanup behavior for redraw_listener and add regression coverage showing that a callback error removes it as the existing timer behavior does.

Written by the indexing model from the issue text.

Description

timer_start() 'repeat' has this feature. I believe listener and redraw_listener need it too.

9.2.976

Dominant language
Vim Script
Stars
41.4k
Forks
6.2k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vim/vim

All issues in vim/vim

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.