1
0
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:
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, \ '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)