Skip to content

fix: check window when restore scrolloff#157

Merged
kevinhwang91 merged 1 commit intokevinhwang91:mainfrom
phanen:fix-invalid-win
Jan 4, 2025
Merged

fix: check window when restore scrolloff#157
kevinhwang91 merged 1 commit intokevinhwang91:mainfrom
phanen:fix-invalid-win

Conversation

@phanen
Copy link
Copy Markdown
Contributor

@phanen phanen commented Jan 4, 2025

Reproduce by:

:set scrolloff=10
:tabnew | copen | tabclose
Error executing vim.schedule lua callback: [string ":lua"]:1: Invalid window id: 1009
stack traceback:
        [C]: in function '__newindex'
        [string ":lua"]:1: in function <[string ":lua"]:1>

@kevinhwang91 kevinhwang91 merged commit ebb6d26 into kevinhwang91:main Jan 4, 2025
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

Successfully merging this pull request may close these issues.

2 participants