allowing resizing and dragging with a mouse
This commit is contained in:
parent
b9ed7f34b4
commit
cb441be7bc
1 changed files with 3 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ function! vimspector#internal#balloon#CreateTooltip(is_hover, ...)
|
||||||
|
|
||||||
let config = {
|
let config = {
|
||||||
\ 'cursorline': 1,
|
\ 'cursorline': 1,
|
||||||
\ 'wrap': 1,
|
\ 'wrap': 0,
|
||||||
\ 'filtermode': "n",
|
\ 'filtermode': "n",
|
||||||
\ 'maxwidth': max_width,
|
\ 'maxwidth': max_width,
|
||||||
\ 'maxheight': max_height,
|
\ 'maxheight': max_height,
|
||||||
|
|
@ -186,6 +186,8 @@ 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'] = "CursorFiler"
|
let config['filter'] = "CursorFiler"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue