https://github.com/samsze0/notifier.nvim
A neovim plugin that provides an implementation for vim.notify
https://github.com/samsze0/notifier.nvim
lua neovim neovim-plugin
Last synced: about 2 months ago
JSON representation
A neovim plugin that provides an implementation for vim.notify
- Host: GitHub
- URL: https://github.com/samsze0/notifier.nvim
- Owner: samsze0
- License: mit
- Created: 2024-05-15T12:04:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T16:00:36.000Z (almost 2 years ago)
- Last Synced: 2025-05-25T01:43:54.365Z (about 1 year ago)
- Topics: lua, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# notifier.nvim
A neovim plugin that provides an implementation for `vim.notify`
## Usage
[lazy.nvim](https://github.com/folke/lazy.nvim)
```lua
{
"samsze0/notifier.nvim",
config = function()
require("notifier").setup({})
end,
dependencies = {
"samsze0/utils.nvim"
}
}
```
```lua
vim.info("Some string")
vim.warn("Some list", { 1, 2, 3 })
vim.error("Some table", { first = 1, second = 2, third = 3})
local notifier = require("notifier")
print(vim.inspect(notifier.all())) -- Print all notifications
-- Or
vim.info(notifier.all())
```
## License
MIT