aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/man.lua
diff options
context:
space:
mode:
authorxudyang1 <61672396+xudyang1@users.noreply.github.com>2024-10-15 11:34:50 -0400
committerGitHub <noreply@github.com>2024-10-15 08:34:50 -0700
commitea5b748f243883b9890e465d4abef598fe2b07fc (patch)
treeda7679fce4a0aa26638d1dc4f5a6fadf1af0e0d9 /runtime/lua/man.lua
parent84623dbe93777c0a8e7ddf57470ddeb2ea738069 (diff)
downloadrneovim-ea5b748f243883b9890e465d4abef598fe2b07fc.tar.gz
rneovim-ea5b748f243883b9890e465d4abef598fe2b07fc.tar.bz2
rneovim-ea5b748f243883b9890e465d4abef598fe2b07fc.zip
feat(man.vim): "q" always closes window #30819
Diffstat (limited to 'runtime/lua/man.lua')
-rw-r--r--runtime/lua/man.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/lua/man.lua b/runtime/lua/man.lua
index fce8f89be8..6f60bf1cef 100644
--- a/runtime/lua/man.lua
+++ b/runtime/lua/man.lua
@@ -675,7 +675,6 @@ function M.init_pager()
vim.cmd.file({ 'man://' .. fn.fnameescape(ref):lower(), mods = { silent = true } })
end
- vim.g.pager = true
set_options()
end