Use a fancy single line border in vim popup when we can
This commit is contained in:
parent
cb174c176d
commit
64f2c8eb01
1 changed files with 5 additions and 0 deletions
|
|
@ -221,6 +221,11 @@ function! vimspector#internal#balloon#CreateTooltip(is_hover, ...)
|
||||||
\ 'border': [],
|
\ 'border': [],
|
||||||
\ 'padding': [ 0, 1, 0, 1]
|
\ 'padding': [ 0, 1, 0, 1]
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
if &ambiwidth ==# 'single' && &encoding == 'utf-8'
|
||||||
|
let config['borderchars'] = [ '─', '│', '─', '│', '╭', '╮', '╯', '╰' ]
|
||||||
|
endif
|
||||||
|
|
||||||
if a:is_hover
|
if a:is_hover
|
||||||
let config['filter'] = "MouseFilter"
|
let config['filter'] = "MouseFilter"
|
||||||
let config['mousemoved'] = [0, 0, 0]
|
let config['mousemoved'] = [0, 0, 0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue