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

fix(man.vim): q quits after jump to different tag in MANPAGER modified #28495

Merged
merged 1 commit into from Apr 26, 2024

Conversation

RandomChugokujin
Copy link
Contributor

@RandomChugokujin RandomChugokujin commented Apr 24, 2024

Problem: In MANPAGER mode, pressing q after jumping to a different tag does not quit, instead E444 is thrown (#25943)

Solution:

  1. Change b:pager into g:pager, a global
  2. Functions in man.lua now will not change the status of g:pager if it has already been set.

runtime/lua/man.lua Outdated Show resolved Hide resolved
runtime/lua/man.lua Outdated Show resolved Hide resolved
runtime/lua/man.lua Outdated Show resolved Hide resolved
RandomChugokujin added a commit to RandomChugokujin/neovim that referenced this pull request Apr 24, 2024
runtime/lua/man.lua Outdated Show resolved Hide resolved
@gpanders gpanders merged commit 3a7c30d into neovim:master Apr 26, 2024
29 checks passed
@github-actions github-actions bot removed the request for review from gpanders April 26, 2024 18:15
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.

None yet

3 participants