File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,7 @@ function! s:NvimOpen(what, opts) abort
172172 let content_height = len (lines )
173173 let position = get (g: , ' OmniSharp_popup_position' , ' atcursor' )
174174 let config = {
175- \ ' focusable' : v: false ,
176- \ ' style' : ' minimal'
175+ \ ' focusable' : v: false
177176 \}
178177 " Positions 'peek' and 'full' only apply to file buffers, not documentation
179178 " buffers
@@ -207,8 +206,10 @@ function! s:NvimOpen(what, opts) abort
207206 let s: nvim_window_options = get (s: , ' nvim_window_options' , {})
208207 let s: nvim_window_options [winid] = {}
209208 for opt in keys (options )
210- let s: nvim_window_options [winid][opt ] = nvim_win_get_option (winid, opt )
211- call nvim_win_set_option (winid, opt , options [opt ])
209+ if nvim_win_get_option (winid, opt ) != options [opt ]
210+ let s: nvim_window_options [winid][opt ] = nvim_win_get_option (winid, opt )
211+ call nvim_win_set_option (winid, opt , options [opt ])
212+ endif
212213 endfor
213214 call nvim_set_current_win (winid)
214215 if exists (' calculatingHeight' )
You can’t perform that action at this time.
0 commit comments