diff --git a/lua/gitlab/actions/discussions/init.lua b/lua/gitlab/actions/discussions/init.lua index 3a32d4ef..5b936474 100644 --- a/lua/gitlab/actions/discussions/init.lua +++ b/lua/gitlab/actions/discussions/init.lua @@ -74,6 +74,7 @@ M.initialize_discussions = function() state.discussion_tree.last_updated = os.time() signs.setup_signs() reviewer.set_callback_for_file_changed(function(args) + M.refresh_diagnostics() reviewer.update_winid_for_buffer(args.buf) end) reviewer.set_callback_for_reviewer_enter(function()