1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:50:03 +08:00

Support mouse click in vim8 tabline (#1902)

This commit is contained in:
Wang Shidong 2018-07-08 19:04:25 +08:00 committed by GitHub
parent d3c4c8baaf
commit 945fb7cdab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,8 @@ function! SpaceVim#layers#core#tabline#get() abort
let tabname = gettabvar(i, '_spacevim_tab_name', '')
if has('tablineat')
let t .= '%' . index . '@SpaceVim#layers#core#tabline#jump@'
elseif !has('nvim')
let t .= '%' . index . 'T'
endif
if g:spacevim_buffer_index_type == 3
let id = s:messletters.index_num(i)