diff --git a/README.md b/README.md index 12ca0cb7..9ab02063 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ With Lazy: dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", - "sindrets/diffview.nvim", + "dlyongemallo/diffview.nvim", -- Maintained fork of "sindrets/diffview.nvim". "stevearc/dressing.nvim", -- Recommended but not required. Better UI for pickers. "nvim-tree/nvim-web-devicons", -- Recommended but not required. Icons in discussion tree. }, @@ -59,7 +59,7 @@ And with pckr.nvim: requires = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", - "sindrets/diffview.nvim", + "dlyongemallo/diffview.nvim", -- Maintained fork of "sindrets/diffview.nvim". "stevearc/dressing.nvim", -- Recommended but not required. Better UI for pickers. "nvim-tree/nvim-web-devicons", -- Recommended but not required. Icons in discussion tree. }, @@ -73,6 +73,8 @@ And with pckr.nvim: Add `branch = "develop",` to your configuration if you want to use the (possibly unstable) development version of `gitlab.nvim`. +`gitlab.nvim` uses the `diffview.nvim` plugin for showing the diffs in a MR. We recommend using [dlyongemallo's](https://github.com/dlyongemallo/diffview.nvim) fork which is the de-facto maintained version of the plugin with many fixes and improvements (e.g., marking files as viewed). + ## Contributing Contributions to the plugin are welcome. Please read [.github/CONTRIBUTING.md](.github/CONTRIBUTING.md) before you start working on a pull request. diff --git a/doc/gitlab.nvim.txt b/doc/gitlab.nvim.txt index 1040deff..6ee885fa 100644 --- a/doc/gitlab.nvim.txt +++ b/doc/gitlab.nvim.txt @@ -64,7 +64,7 @@ With Lazy: dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", - "sindrets/diffview.nvim", + "dlyongemallo/diffview.nvim", -- Maintained fork of "sindrets/diffview.nvim". "stevearc/dressing.nvim", -- Recommended but not required. Better UI for pickers. "nvim-tree/nvim-web-devicons", -- Recommended but not required. Icons in discussion tree. }, @@ -81,7 +81,7 @@ And with pckr.nvim: requires = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", - "sindrets/diffview.nvim", + "dlyongemallo/diffview.nvim", -- Maintained fork of "sindrets/diffview.nvim". "stevearc/dressing.nvim", -- Recommended but not required. Better UI for pickers. "nvim-tree/nvim-web-devicons", -- Recommended but not required. Icons in discussion tree. }, diff --git a/lua-test.sh b/lua-test.sh index 6cf83dc9..164ce7a8 100755 --- a/lua-test.sh +++ b/lua-test.sh @@ -10,7 +10,7 @@ PLUGINS_FOLDER="tests/plugins" PLUGINS=( "https://github.com/MunifTanjim/nui.nvim" "https://github.com/nvim-lua/plenary.nvim" - "https://github.com/sindrets/diffview.nvim" + "https://github.com/dlyongemallo/diffview.nvim" ) if ! command -v luarocks >/dev/null 2>&1; then diff --git a/lua/gitlab/health.lua b/lua/gitlab/health.lua index a1ae8be5..46f58e21 100644 --- a/lua/gitlab/health.lua +++ b/lua/gitlab/health.lua @@ -31,7 +31,7 @@ M.check = function(return_results) package = "plenary", }, { - name = "sindrets/diffview.nvim", + name = "dlyongemallo/diffview.nvim", package = "diffview", }, }