Obsession! does not unlet v:this_session
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.9k
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Since session tracking is stopped and the relevant file deleted, I contend that v:this_session should be unlet.
This is mostly because after running Obsession! the status indicator shows [S], as though there were (paused) tracking.
A different solution would be to remove the v:this_session part of the check from the status line flags, but I imagine part of the idea there was to keep the status line flag visible even when using non-Obsession session files.
Contributor 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.
Research direction
Start by locating the Obsession! command handling and the status-line flag logic that checks v:this_session. Confirm the behavior after stopping tracking and deleting the session file; done means v:this_session is unset and the status indicator no longer shows [S], while the issue's stated non-Obsession session-file behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100