winheight cannot be smaller than winminheight
Nobody has claimed this yet.
- #28 by @someone — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- vim
- Domain
- tooling
Research direction
Reproduce the error with the reported .vimrc settings and a saved session, then inspect how obsession writes and loads session files. Confirm which setting produces winheight=1 and verify that loading the session no longer reports the error while preserving the expected window settings.
Written by the indexing model from the issue text.
Description
Nice plugin!
I have these settings in my .vimrc courtesy of Gary Bernhardt's Destroy All Software screencast series.
set winwidth=84
" We have to have a winheight bigger than we want to set winminheight. But if
" we set winheight to be huge before winminheight, the winminheight set will
" fail.
set winheight=5
set winminheight=5
set winheight=999
When I go to load up a saved session I receive the following error:

I'm not sure what is setting winheight=1, but that isn't in my .vimrc. Is that something this plugin is setting? It doesn't seem like it matters much, the sessions load fine, but it's obviously an eye sore / slow to have it error out each time I load up a saved session.
Thanks for taking a look!
- Dominant language
- Vim Script
- Stars
- 1.9k
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No 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 tpope/vim-obsession
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tpope/vim-obsession#86 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
tpope/vim-obsession#85 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tpope/vim-obsession#80 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 50/100
tpope/vim-obsession#79 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tpope/vim-obsession#73 · 5 comments ·
All issues in tpope/vim-obsession
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
zerocracy/judges-action#2729 ·
Maintainers usually reply within 8 days
-
agent/scanner bug hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
dependencies feature github_actions good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
wemake-services/wemake-django-template#3149 ·
Maintainers usually reply within 1 day
-
`Processing lsp` never exits and leaves orphaned processesPossibly taken @overcast302 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
processing/processing4#1578 · 1 comment ·
-
autoInject recall silently drops memory injection on long / non-Latin prompts (HTTP 400 Query too long)Possibly taken @Epsilon006 claimed this today. Openintegration:coding-agents
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vectorize-io/hindsight#5476 · 1 comment ·
Maintainers usually reply within 1 day