Enable mouse interraction for the both popups in vim
This commit is contained in:
parent
bc1146df3b
commit
322b7e0a38
1 changed files with 2 additions and 2 deletions
|
|
@ -216,6 +216,8 @@ function! vimspector#internal#balloon#CreateTooltip(is_hover, ...)
|
||||||
\ 'border': [],
|
\ 'border': [],
|
||||||
\ 'padding': [ 0, 1, 0, 1],
|
\ 'padding': [ 0, 1, 0, 1],
|
||||||
\ 'highlight': 'Normal',
|
\ 'highlight': 'Normal',
|
||||||
|
\ 'drag': 1,
|
||||||
|
\ 'resize': 1
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
if &ambiwidth ==# 'single' && &encoding == 'utf-8'
|
if &ambiwidth ==# 'single' && &encoding == 'utf-8'
|
||||||
|
|
@ -226,8 +228,6 @@ function! vimspector#internal#balloon#CreateTooltip(is_hover, ...)
|
||||||
let config['filter'] = "MouseFilter"
|
let config['filter'] = "MouseFilter"
|
||||||
let config['mousemoved'] = [0, 0, 0]
|
let config['mousemoved'] = [0, 0, 0]
|
||||||
let config['close'] = "button"
|
let config['close'] = "button"
|
||||||
let config['drag'] = 1
|
|
||||||
let config['resize'] = 1
|
|
||||||
let s:float_win = popup_beval(body, config)
|
let s:float_win = popup_beval(body, config)
|
||||||
else
|
else
|
||||||
let config['filter'] = "CursorFilter"
|
let config['filter'] = "CursorFilter"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue