Content-Length: 282555 | pFad | http://github.com/vigoux/notifier.nvim/tree/c175ee19192d86ce94c1660ac1e631ebe2999d44

73 GitHub - vigoux/notifier.nvim at c175ee19192d86ce94c1660ac1e631ebe2999d44
Skip to content

vigoux/notifier.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notifier.nvim non-intrusive notification system for neovim

Showcase

Setup

Using packer.nvim:

use {
  "vigoux/notifier.nvim",
  config = function()
    require'notifier'.setup {
    -- You configuration here
    }
  end
}

The default configuration is:

{
  ignore_messages = {}, -- Ignore message from LSP servers with this name
  status_width = something, -- COmputed using 'columns' and 'textwidth'
  components = {  -- Order of the components to draw from top to bottom (first nvim notifications, then lsp)
    "nvim",  -- Nvim notifications (vim.notify and such)
    "lsp"  -- LSP status updates
  },
  notify = {
    clear_time = 1000, -- Time in milisecond before removing a vim.notifiy notification, 0 to make them sticky
    min_level = vim.log.level.INFO, -- Minimum log level to print the notification
  },
  component_name_recall = false -- Whether to prefix the title of the notification by the component name
}

This plugin provides some commands:

:NotifierClear   " Clear the vim.notify items
:NotifierReplay  " Replay all vim.notify items

This plugin defines multiple highlight groups that you can configure:

  • NotifierTitle: the title of the notification (lsp:.. and nvim)
  • NotifierContent: the content of the notification
  • NotifierContentDim: dimmed content of the notification

Acknoledgement

Heavily inspired by fidget.nvim

TODO

  • Handle LSP progress
  • Hook into vim.notify and friends
    • Allow to customize log levels
  • When out, hook into ui_attach to route more messages from nvim

About

Non-intrusive notification system for neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  
  •  

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/vigoux/notifier.nvim/tree/c175ee19192d86ce94c1660ac1e631ebe2999d44

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy