Allow use of --imply_local when calling DiffviewOpen, allowing LSP use and linting in MR review (#162)

Adds the ability to use the local filesystem when doing reviews by passing the `--imply-local` flag to the reviewer. This functionality is disabled by default. If users make changes to their filesystem (the files are "dirty") the default reviewer (hashes not files) will be use. This is a MINOR release.
This commit is contained in:
d-karl
2024-01-21 00:06:24 +01:00
committed by GitHub
parent 9b4526e54c
commit a01a3210c1
4 changed files with 38 additions and 1 deletions

View File

@@ -13,6 +13,11 @@ M.settings = {
log_path = (vim.fn.stdpath("cache") .. "/gitlab.nvim.log"),
config_path = nil,
reviewer = "diffview",
reviewer_settings = {
diffview = {
imply_local = false,
},
},
attachment_dir = "",
help = "?",
popup = {