mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03:48 -05:00
Use "ch_info()" to get channel id
This commit is contained in:
@@ -129,8 +129,7 @@ endfunction
|
||||
|
||||
|
||||
function! s:channel_id(channel) abort
|
||||
" This seems to be the only way to get info about the channel once closed.
|
||||
return matchstr(a:channel, '\d\+')
|
||||
return ch_info(a:channel)['id']
|
||||
endfunction
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user