File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -161,19 +161,20 @@ function s:NvimGetOptions() abort
161
161
endfunction
162
162
163
163
function ! s: NvimOpen (what, opts) abort
164
+ let config = {
165
+ \ ' focusable' : v: false
166
+ \}
164
167
if type (a: what ) == v: t_number
165
168
let bufnr = a: what
166
169
let lines = getbufline (bufnr , 1 , ' $' )
167
170
else
168
171
let bufnr = nvim_create_buf (v: false , v: true )
169
172
call setbufline (bufnr , 1 , a: what )
170
173
let lines = a: what
174
+ let config.style = ' minimal'
171
175
endif
172
176
let content_height = len (lines )
173
177
let position = get (g: , ' OmniSharp_popup_position' , ' atcursor' )
174
- let config = {
175
- \ ' focusable' : v: false
176
- \}
177
178
" Positions 'peek' and 'full' only apply to file buffers, not documentation
178
179
" buffers
179
180
if type (a: what ) == v: t_number && position == ? ' peek'
You can’t perform that action at this time.
0 commit comments