mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +08:00
Disable scrollbar in vim (#3625)
This commit is contained in:
parent
c114050114
commit
70ad84a954
@ -90,6 +90,7 @@ function! s:self.open_win(buffer, focuce, options) abort
|
|||||||
\ 'maxwidth' : width,
|
\ 'maxwidth' : width,
|
||||||
\ 'minwidth' : width,
|
\ 'minwidth' : width,
|
||||||
\ 'highlight' : highlight,
|
\ 'highlight' : highlight,
|
||||||
|
\ 'scrollbar' : 0,
|
||||||
\ }
|
\ }
|
||||||
endif
|
endif
|
||||||
return popup_create(a:buffer, opt)
|
return popup_create(a:buffer, opt)
|
||||||
@ -113,6 +114,7 @@ function! s:self.win_config(winid, options) abort
|
|||||||
\ 'maxwidth' : width,
|
\ 'maxwidth' : width,
|
||||||
\ 'minwidth' : width,
|
\ 'minwidth' : width,
|
||||||
\ 'highlight' : highlight,
|
\ 'highlight' : highlight,
|
||||||
|
\ 'scrollbar' : 0,
|
||||||
\ }
|
\ }
|
||||||
endif
|
endif
|
||||||
return popup_setoptions(a:winid, opt)
|
return popup_setoptions(a:winid, opt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user