From 35d5b619cea8d850cb26b27c71494f75b780f361 Mon Sep 17 00:00:00 2001 From: "Harrison (Harry) Cramer" <32515581+harrisoncramer@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:25:54 -0400 Subject: [PATCH] Fixes #26 (#27) --- lua/gitlab/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/gitlab/init.lua b/lua/gitlab/init.lua index 08d2759..2e2e901 100644 --- a/lua/gitlab/init.lua +++ b/lua/gitlab/init.lua @@ -138,9 +138,9 @@ M.setPluginConfiguration = function(args) state.PORT = args.port or 21036 state.LOG_PATH = args.log_path or (vim.fn.stdpath("cache") .. "/gitlab.nvim.log") state.DISCUSSION_SPLIT = { - relative = args.discussion_tree and args.discussion_tree.relative or "editor", - position = args.discussion_tree and args.discussion_tree.position or "left", - size = args.discussion_tree and args.discussion_tree.size or "20%", + relative = args.keymaps and args.keymaps.discussion_tree and args.keymaps.discussion_tree.relative or "editor", + position = args.keymaps and args.keymaps.discussion_tree and args.keymaps.discussion_tree.position or "left", + size = args.keymaps and args.keymaps.discussion_tree and args.keymaps.discussion_tree.size or "20%", } return true