Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Non-intrusive notification system for neovim

License

NotificationsYou must be signed in to change notification settings

vigoux/notifier.nvim

Repository files navigation

Showcase

Setup

Usingpacker.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 namestatus_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=5000,-- Time in milliseconds before removing a vim.notify notification, 0 to make them stickymin_level=vim.log.levels.INFO,-- Minimum log level to print the notification  },component_name_recall=false,-- Whether to prefix the title of the notification by the component namezindex=50,-- The zindex to use for the floating window. Note that changing this value may cause visual bugs with other windows overlapping the notifier window.}

This plugin provides some commands:

:NotifierClear" Clear the vim.notify items:NotifierReplay" Replay all vim.notify items:NotifierReplay!" Replay all vim.notify items to the quickfix list

This plugin defines multiple highlight groups that you can configure:

  • NotifierTitle: the title of the notification (lsp:.. andnvim)
  • NotifierIcon: Icon of the notification (if any)
  • NotifierContent: the content of the notification
  • NotifierContentDim: dimmed content of the notification

vim.notify options

This plugin supports two options forvim.notify:

title:string-- The title for this notificationicon:string-- The icon for this notification

Acknowledgement

Heavily inspired byfidget.nvim

TODO

  • Handle LSP progress
  • Hook intovim.notify and friends
    • Allow to customize log levels
  • When out, hook intoui_attach to route more messages from nvim
  • Add docs forstatus.push andstatus.pop

About

Non-intrusive notification system for neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  
  •  

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp