diff --git a/doc/neogit.txt b/doc/neogit.txt index cfc6821a..b90e4d0e 100644 --- a/doc/neogit.txt +++ b/doc/neogit.txt @@ -91,9 +91,6 @@ to Neovim users. *:Neogit* :Neogit In a Git repository, opens a new NeogitStatus tab. - *:NeogitMessages* -:NeogitMessages Prints messages from neogit's messaging system. - *:NeogitResetState* :NeogitResetState Performs a full reset of saved flags for all popups. diff --git a/plugin/neogit.lua b/plugin/neogit.lua index 24702438..f80d3566 100644 --- a/plugin/neogit.lua +++ b/plugin/neogit.lua @@ -12,15 +12,6 @@ end, { end, }) -api.nvim_create_user_command("NeogitMessages", function() - for _, message in ipairs(require("neogit.lib.notification").get_history()) do - print(string.format("[%s]: %s", message.kind, table.concat(message.content, " - "))) - end -end, { - nargs = "*", - desc = "Prints neogit message history", -}) - api.nvim_create_user_command("NeogitResetState", function() require("neogit.lib.state")._reset() end, { nargs = "*", desc = "Reset any saved flags" })