a dirty but effecient way to abort :qa
/:q
i think when there are processes created by uv.spawn(detached = false)
,
nvim should not allow :qa
/:q
. so i figured out this workaround.
especially for a daemonized music player.
- haolian9/infra.nvim
- nvim 0.9.*
- .acquire/release(token) # the token is an arbitrary but unique string
- .tokens() # returning tokens being held