1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:20:04 +08:00

Disable scrollbar in vim (#3625)

This commit is contained in:
Wang Shidong 2020-07-14 18:43:24 +08:00 committed by GitHub
parent c114050114
commit 70ad84a954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,6 +90,7 @@ function! s:self.open_win(buffer, focuce, options) abort
\ 'maxwidth' : width,
\ 'minwidth' : width,
\ 'highlight' : highlight,
\ 'scrollbar' : 0,
\ }
endif
return popup_create(a:buffer, opt)
@ -113,6 +114,7 @@ function! s:self.win_config(winid, options) abort
\ 'maxwidth' : width,
\ 'minwidth' : width,
\ 'highlight' : highlight,
\ 'scrollbar' : 0,
\ }
endif
return popup_setoptions(a:winid, opt)