committed by
GitHub
parent
1963e49d63
commit
35d5b619ce
@@ -138,9 +138,9 @@ M.setPluginConfiguration = function(args)
|
|||||||
state.PORT = args.port or 21036
|
state.PORT = args.port or 21036
|
||||||
state.LOG_PATH = args.log_path or (vim.fn.stdpath("cache") .. "/gitlab.nvim.log")
|
state.LOG_PATH = args.log_path or (vim.fn.stdpath("cache") .. "/gitlab.nvim.log")
|
||||||
state.DISCUSSION_SPLIT = {
|
state.DISCUSSION_SPLIT = {
|
||||||
relative = args.discussion_tree and args.discussion_tree.relative or "editor",
|
relative = args.keymaps and args.keymaps.discussion_tree and args.keymaps.discussion_tree.relative or "editor",
|
||||||
position = args.discussion_tree and args.discussion_tree.position or "left",
|
position = args.keymaps and args.keymaps.discussion_tree and args.keymaps.discussion_tree.position or "left",
|
||||||
size = args.discussion_tree and args.discussion_tree.size or "20%",
|
size = args.keymaps and args.keymaps.discussion_tree and args.keymaps.discussion_tree.size or "20%",
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user