diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-06 10:32:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 10:32:23 +0200 |
commit | 05893aea391d91e159a41f03acc20049c7049510 (patch) | |
tree | 674c6b05a33b5276bf5897a21fdda4c7687ff69b /runtime/lua/man.lua | |
parent | 5b8d6e0b3200c5cb9d98cbdb4ed0afe2b4edd38d (diff) | |
parent | 1ef7720567b08caec0c077605fb2a01a9d6eafbc (diff) | |
download | rneovim-05893aea391d91e159a41f03acc20049c7049510.tar.gz rneovim-05893aea391d91e159a41f03acc20049c7049510.tar.bz2 rneovim-05893aea391d91e159a41f03acc20049c7049510.zip |
Merge pull request #20039 from zeertzjq/cmod-tab
fix(api)!: correctly deal with number before :tab
Diffstat (limited to 'runtime/lua/man.lua')
-rw-r--r-- | runtime/lua/man.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/man.lua b/runtime/lua/man.lua index 4b8239ce74..82ed0305f7 100644 --- a/runtime/lua/man.lua +++ b/runtime/lua/man.lua @@ -671,7 +671,7 @@ function M.open_page(count, smods, args) local target = ('%s(%s)'):format(name, sect) local ok, ret = pcall(function() - if not smods.tab and find_man() then + if smods.tab == -1 and find_man() then vim.cmd.tag({ target, mods = { silent = true, keepalt = true } }) else smods.silent = true |