Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsession! does not unlet v:this_session #47

Open
benknoble opened this issue Dec 10, 2018 · 1 comment
Open

Obsession! does not unlet v:this_session #47

benknoble opened this issue Dec 10, 2018 · 1 comment

Comments

@benknoble
Copy link

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.

benknoble added a commit to benknoble/vim-obsession that referenced this issue Dec 14, 2018
@tpope
Copy link
Owner

tpope commented Dec 14, 2018

Can't unlet it but could set it to an empty string. My thinking was that leaving it set would be useful in case you later want to recreate it, but I guess that's a pretty contrived use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants