Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simrat39/desktop-notify.nvim
Show desktop notifications for vim.notify calls
https://github.com/simrat39/desktop-notify.nvim
Last synced: 3 months ago
JSON representation
Show desktop notifications for vim.notify calls
- Host: GitHub
- URL: https://github.com/simrat39/desktop-notify.nvim
- Owner: simrat39
- License: mit
- Created: 2021-10-17T01:36:09.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-08T11:58:41.000Z (about 2 years ago)
- Last Synced: 2024-06-17T22:49:54.216Z (5 months ago)
- Language: Lua
- Size: 5.86 KB
- Stars: 58
- Watchers: 4
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# desktop-notify.nvim
Show desktop notifications for vim.notify calls## Requirements
- `neovim 0.5+`
- `plenary.nvim`## Supported platforms
- Linux (notify-send)## Installation
using `packer.nvim`
```lua
use 'nvim-lua/plenary.nvim'
use 'simrat39/desktop-notify.nvim'
```## Usage
```lua
-- Overrides vim.notify
require("desktop-notify").override_vim_notify()-- Or, plugin authors/users can use it to send desktop notifications for
-- background tasks. The function works the same way as vim.notify.require("desktop-notify").notify("Your message here")
```