fix: help_tags respect nosplitright for <c-v>

fix #1897
This commit is contained in:
Simon Hauser
2022-04-30 09:18:16 +02:00
parent 7cde1ca834
commit bf16fe620f

View File

@@ -657,7 +657,7 @@ internal.help_tags = function(opts)
if cmd == "default" or cmd == "horizontal" then if cmd == "default" or cmd == "horizontal" then
vim.cmd("help " .. selection.value) vim.cmd("help " .. selection.value)
elseif cmd == "vertical" then elseif cmd == "vertical" then
vim.cmd("vert bo help " .. selection.value) vim.cmd("vert help " .. selection.value)
elseif cmd == "tab" then elseif cmd == "tab" then
vim.cmd("tab help " .. selection.value) vim.cmd("tab help " .. selection.value)
end end