Skip to content

wsdjeg/notify.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notify.nvim

notify.nvim is an notification framework plugin for neovim.

Installation

Using nvim-plug:

require('plug').add({
  {
    'wsdjeg/notify.nvim',
    config = function()
      require('notify').setup({})
    end,
  },
})

Setup

require('notify').setup({
  easing_func = 'linear',
  timeout = 3000,
  borderchars = { '', '', '', '', '', '', '', '' },
})

Usage

local nt = require('notify')

nt.notify('normal message')
nt.notify('warn message', 'WarningMsg')

vim.notify

Use vim.notify with this plugin:

vim.notify = function(msg, level, opt)
    require('notify').notify(msg)
end

Self-Promotion

Like this plugin? Star the repository on GitHub.

Love this plugin? Follow me on GitHub and Twitter.

License

This project is licensed under the GPL-3.0 License.

About

notification framework plugin for neovim

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages