We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DiffviewOpen
splitright
How can I achieve the switch on layout diff2_horizontal like in | A | B | => | B | A | ?
diff2_horizontal
| A | B | => | B | A |
No response
Change splitright option doesn't change the behaviour of pane position in layout diff2_horizontal
Use :DiffviewOpen with splitright option enabled/disabled The behaviour doesn't change
:DiffviewOpen
diffview: require("diffview.health").check()
Checking plugin dependencies ~
Checking VCS tools ~
hg_cmd
:DiffviewLog
############################ ### PUT LOG CONTENT HERE ### ############################
NVIM v0.10.1 Build type: Release LuaJIT 2.1.1725453128
Darwin 24.0.0 x86_64
-- ####################################### -- ### USAGE: nvim --clean -u mini.lua ### -- ####################################### local root = vim.fn.stdpath("run") .. "/nvim/diffview.nvim" local plugin_dir = root .. "/plugins" vim.fn.mkdir(plugin_dir, "p") vim.o.splitright = true for _, name in ipairs({ "config", "data", "state", "cache" }) do vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name end local plugins = { { "nvim-web-devicons", url = "https://github.com/nvim-tree/nvim-web-devicons.git" }, { "diffview.nvim", url = "https://github.com/sindrets/diffview.nvim.git" }, -- ################################################################## -- ### ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE ### -- ################################################################## } for _, spec in ipairs(plugins) do local install_path = plugin_dir .. "/" .. spec[1] if vim.fn.isdirectory(install_path) ~= 1 then if spec.url then print(string.format("Installing '%s'...", spec[1])) vim.fn.system({ "git", "clone", "--depth=1", spec.url, install_path }) end end vim.opt.runtimepath:append(spec.path or install_path) end require("diffview").setup({ -- ############################################################################## -- ### ADD DIFFVIEW.NVIM CONFIG THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE ### -- ############################################################################## }) vim.opt.termguicolors = true vim.cmd("colorscheme " .. (vim.fn.has("nvim-0.8") == 1 and "habamax" or "slate")) -- ############################################################################ -- ### ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE ### -- ############################################################################ print("Ready!")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
How can I achieve the switch on layout
diff2_horizontal
like in| A | B | => | B | A |
?Expected behavior
No response
Actual behavior
Change
splitright
option doesn't change the behaviour of pane position in layoutdiff2_horizontal
Steps to reproduce
Use
:DiffviewOpen
withsplitright
option enabled/disabledThe behaviour doesn't change
Health check
diffview: require("diffview.health").check()
Checking plugin dependencies ~
Checking VCS tools ~
hg_cmd
is not executable: 'hg'Log info
Relevant info from
:DiffviewLog
Neovim version
Operating system and version
Darwin 24.0.0 x86_64
Minimal config
The text was updated successfully, but these errors were encountered: