From f8a9aefbbfc54e82cf86dd8afafadd0d55c8a6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bortl=C3=ADk?= Date: Tue, 22 Sep 2026 10:38:45 +0200 Subject: [PATCH] fix: merge popup opts correctly --- lua/gitlab/popup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gitlab/popup.lua b/lua/gitlab/popup.lua index c08e4cf9..3ab7c95f 100644 --- a/lua/gitlab/popup.lua +++ b/lua/gitlab/popup.lua @@ -6,7 +6,7 @@ local M = {} ---@param opts PopupOpts Options for customizing the popup ---@return table M.create_popup_state = function(opts) - opts = opts or { filetype = "markdown" } + opts = u.merge({ filetype = "markdown" }, opts) local settings = u.merge(require("gitlab.state").settings.popup, opts.user_settings or {}) local view_opts = { buf_options = {