Sleep 0 support
Maintainers usually reply within 13 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 57/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- vim
- Domain
- tooling
Research direction
Start by reading the implementation and tests for Vim's :sleep command, then compare how timers handle a zero duration. Add support for :sleep 0 and cover it with a focused test; done when zero is accepted without freezing Vim and the existing sleep behavior remains intact.
Written by the indexing model from the issue text.
Description
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Currently :sleep don't support 0. To avoid some using of timer_start(1)
Describe alternatives you've considered
Since timer can be set 0. I think sleep can support this too. Because it can save many code sometimes.
Additional context
I have a plugin that use job's exit_cb to manage exitcode and output. However the out_cb may be called after exit_cb so that data isn't prepared. Since sleep 1m will frozen the screen, so if many job is exit at same time. Vim is freezing.
- Dominant language
- Vim Script
- Stars
- 41.4k
- Forks
- 6.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vim/vim
-
autoconf failes to find libsodium even when present due to implicit function declarationPossibly taken @coderjoe claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 13 days
-
`json_decode()` uses a number as a string pointer when 'encoding' has no converterPossibly taken @mattn claimed this 7 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 13 days
-
GTK4 build's v:servername is prefixed with $XDG_RUNTIME_DIR/vimMay be free again A pull request for this issue was closed without being merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 13 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 13 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 13 days
Similar issues
-
Needs Triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
anthropics/skills#2328 ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
tonydzi/sqlite-graph-memory#133 · 1 comment ·
Maintainers usually reply within 1 day
-
area: build-and-ci S3: minor
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manaflow-ai/cmux#72257 ·
Maintainers usually reply within 1 day