From c73d22996e7dcbccdb213a1ca74a292470741ee4 Mon Sep 17 00:00:00 2001 From: "Harrison (Harry) Cramer" <32515581+harrisoncramer@users.noreply.github.com> Date: Sun, 3 Mar 2024 12:15:57 -0500 Subject: [PATCH 1/2] Fix: Fixes Misspelling In Diagnostics Settings Check (#210) This is a #PATCH fix release --- lua/gitlab/indicators/signs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gitlab/indicators/signs.lua b/lua/gitlab/indicators/signs.lua index 8631574a..2b3ac19e 100644 --- a/lua/gitlab/indicators/signs.lua +++ b/lua/gitlab/indicators/signs.lua @@ -24,7 +24,7 @@ local severity_map = { ---@param diagnostics Diagnostic[] ---@param bufnr number M.set_signs = function(diagnostics, bufnr) - if not state.settings.discussion_sign.enabled then + if not state.settings.discussion_signs.enabled then return end From 3c4e29f62e745098139433e96fb7a1d547412773 Mon Sep 17 00:00:00 2001 From: Harrison Cramer Date: Mon, 4 Mar 2024 09:09:51 -0500 Subject: [PATCH 2/2] include net changes --- lua/gitlab/hunks/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gitlab/hunks/init.lua b/lua/gitlab/hunks/init.lua index 2df8c044..a14d5be4 100644 --- a/lua/gitlab/hunks/init.lua +++ b/lua/gitlab/hunks/init.lua @@ -274,7 +274,7 @@ M.calculate_matching_line_new = function(old_sha, new_sha, file_path, line_numbe end -- TODO: Possibly handle lines that are out of range in the new files - return line_number + return line_number + net_change + 1 end return M