-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The glow previews for README.md files don't work when the PAGER environment variable is set to nvimpager, but they work with less -r and most. This is because the previews calls glow -p which uses the $PAGER environment variable. I found two workarounds. The first one was to set export MANPAGER=nvimpager and export PAGER=most so that nvimpager does not get called in the first place. The other one was to set a different pager from within init.lua using if vim.fn.executable('less') then vim.fn.setenv("PAGER", "less -r") end.
I opened an issue here and in the glow repo so that the problem is documented.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working