File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -149,21 +149,10 @@ function! s:setcontent(lines, ft) abort
149
149
if s: use_vim_popup
150
150
" vim popup
151
151
call setbufline (winbufnr (s: winid ), 1 , a: lines )
152
- let l: lightline_toggle = v: false
153
- if exists (' #lightline' ) && ! has (' nvim' )
154
- " Lightline does not work in popups but does not recognize it yet.
155
- " It is ugly to have an check for an other plugin here, better fix lightline...
156
- let l: lightline_toggle = v: true
157
- call lightline#disable ()
158
- endif
159
152
call win_execute (s: winid , ' setlocal filetype=' . a: ft . ' .lsp-hover' )
160
- if l: lightline_toggle
161
- call lightline#enable ()
162
- endif
163
153
else
164
154
" nvim floating or preview
165
155
call setline (1 , a: lines )
166
-
167
156
setlocal readonly nomodifiable
168
157
silent ! let &l: filetype = a: ft . ' .lsp-hover'
169
158
endif
You can’t perform that action at this time.
0 commit comments