fix: Comments on unchanged, expanded lines (#146)
This MR fixes an issue with refreshes of the diagnostics and signs when users leave comments on unchanged lines.
This commit is contained in:
committed by
GitHub
parent
cf73d629dc
commit
571173c881
@@ -234,6 +234,13 @@ M.map = function(tbl, f)
|
||||
return t
|
||||
end
|
||||
|
||||
M.reduce = function(tbl, agg, f)
|
||||
for _, v in pairs(tbl) do
|
||||
agg = f(agg, v)
|
||||
end
|
||||
return agg
|
||||
end
|
||||
|
||||
M.notify = function(msg, lvl)
|
||||
vim.notify("gitlab.nvim: " .. msg, lvl)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user