Skip to content

fix(actions): make :tabnew | h xx | only work with &splitkeep #2135

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

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

phanen
Copy link
Contributor

@phanen phanen commented Jun 24, 2025

nvim --clean -u repro.lua:

vim.o.scrolloff = math.ceil(vim.o.lines / 2)
vim.o.splitkeep = 'topline'
vim.cmd [[tabnew | help shada | only]]

Cursor won't focus on tags.

For fzf-lua not sure if this problem exist for old version.. since there's another bug 6a71239cd5ea2a8e993bddd8e7765d1afe3e79e4. And this just fix on 0.11 (which has vim._with) only.

`nvim --clean -u repro.lua`:
```lua
vim.o.scrolloff = math.ceil(vim.o.lines / 2)
vim.o.splitkeep = 'topline'
vim.cmd [[tabnew | help shada | only]]
```

Cursor won't focus on tags.
@ibhagwan
Copy link
Owner

Ty @phanen, seems reasonable.

@ibhagwan ibhagwan merged commit 3d43421 into ibhagwan:main Jun 24, 2025
11 of 12 checks passed
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