mirror of
https://github.com/TimUntersberger/neogit
synced 2024-09-16 14:24:09 +02:00
Remove NeogitMessages user command. Use :Notifications instead.
This commit is contained in:
parent
a3d59b2863
commit
a4981b11a5
2 changed files with 0 additions and 12 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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" })
|
||||
|
|
Loading…
Reference in a new issue