Skip to content

Commit 3b96fc8

Browse files
committed
stop toggling lightline on setting contents of popup
1 parent 6cbb423 commit 3b96fc8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

autoload/lsp/ui/vim/output.vim

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,7 @@ function! s:setcontent(lines, ft) abort
149149
if s:use_vim_popup
150150
" vim popup
151151
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
159152
call win_execute(s:winid, 'setlocal filetype=' . a:ft . '.lsp-hover')
160-
if l:lightline_toggle
161-
call lightline#enable()
162-
endif
163153
else
164154
" nvim floating or preview
165155
call setline(1, a:lines)

0 commit comments

Comments
 (0)