1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 15:00:06 +08:00
SpaceVim/bundle/vim-chat/autoload/chat/notify.vim

19 lines
544 B
VimL
Raw Normal View History

2022-04-30 02:03:01 +08:00
"=============================================================================
" notify.vim --- notification for chatting
2023-03-26 13:50:22 +08:00
" Copyright (c) 2016-2023 Wang Shidong & Contributors
2022-04-30 02:03:01 +08:00
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
let s:NOTI = SpaceVim#api#import('notify')
let s:NOTI.notify_max_width = &columns * 0.50
let s:NOTI.timeout = 5000
function! chat#notify#noti(msg) abort
call s:NOTI.notify(a:msg)
endfunction