Fix: Discussion + Note Creation Bugs (#151)
This MR is an attempt to resolve some of the issues this plugin is experiencing with Gitlab's API surrounding comments, in particular the specifics around when to send the "old line" versus "new line" and the file hashes. This is a PATCH release.
This commit is contained in:
committed by
GitHub
parent
ed3a90cf00
commit
519791c81c
@@ -53,7 +53,9 @@ M.update_winbar = function(discussions, unlinked_discussions, base_title)
|
||||
local d = require("gitlab.actions.discussions")
|
||||
local winId = d.split.winid
|
||||
local c = content(discussions, unlinked_discussions, base_title)
|
||||
vim.wo[winId].winbar = c
|
||||
if vim.wo[winId] then
|
||||
vim.wo[winId].winbar = c
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user