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
172
172
let content_height = len (lines )
173
173
let position = get (g: , ' OmniSharp_popup_position' , ' atcursor' )
174
174
let config = {
175
- \ ' focusable' : v: false ,
176
- \ ' style' : ' minimal'
175
+ \ ' focusable' : v: false
177
176
\}
178
177
" Positions 'peek' and 'full' only apply to file buffers, not documentation
179
178
" buffers
@@ -207,8 +206,10 @@ function! s:NvimOpen(what, opts) abort
207
206
let s: nvim_window_options = get (s: , ' nvim_window_options' , {})
208
207
let s: nvim_window_options [winid] = {}
209
208
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
212
213
endfor
213
214
call nvim_set_current_win (winid)
214
215
if exists (' calculatingHeight' )
You can’t perform that action at this time.
0 commit comments