Message notification system for Vim
call notification#show('Hello World')
call notification#show(#{
\ text: 'Hello World',
\})
If you want to specify waiting time to stay the notification on screen:
call notification#show(#{
\ text: 'Hello World',
\ wait: 300,
\})
To handle clicked/closed event:
function! s:my_clicked(data) abort
echo a:data
endfunction
call notification#show(#{
\ text: 'Hello World',
\ clicked: function('s:my_clicked', ['Hi!']),
\})
For vim-plug plugin manager:
Plug 'mattn/vim-notification'
MIT
Yasuhiro Matsumoto (a.k.a. mattn)