Closed Dzzt closed 1 year ago
The minimal init.vim
set rtp+=~/work/denops.vim
set rtp+=~/work/ddu.vim
set rtp+=~/work/ddu-ui-ff
set rtp+=~/work/ddu-source-file
filetype plugin indent on
syntax on
"----------------------------------------------------------------
call ddu#custom#patch_global(#{
\ ui: 'ff',
\ sources: [
\ #{name: 'file'},
\ ]
\})
nnoremap <buffer><silent> q <Cmd>call ddu#ui#ff#do_action('quit')<CR>
nnoremap <silent> ;h <Cmd>call ddu#start(#{sources: [#{name: 'file'}]})<CR>
It works for me in neovim 0.9.
Maybe just after the fix in last week, not for sure when I execute this in EX the first time after start Neovim
Please bisect the commit and upload the full messages by :messages
.
With the minimal init.vim you instructed
start nvim.exe
nvim started with no error messages.
:call ddu#start({}) nothing happens with no messages.
:call ddu#start({}) again shows a message [ddu] Invalid ui: "ff"
:message only [ddu] Invalid ui: "ff" is shown
A couple of minutes after I left nvim opened with the error , I found nvim.exe put this error.
[denops] Error: Failed to call 'start' with [{"sources":[{"name":"file"}]}]: TypeError: error sending request for url (https://deno.land/x/ddu_vim@v2.3.0/types.ts): error trying to connect: tls handshake eof [denops] at file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/Shougo/ddu-ui-ff/denops/@ddu-uis/ff.ts:9:8 [denops] at async Ddu.register (file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/Shougo/ddu.vim/denops/ddu/ddu.ts:1210:17) [denops] at async file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/Shougo/ddu.vim/denops/ddu/ddu.ts:1283:7 [denops] at async Promise.all (index 0) [denops] at async Ddu.autoload (file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/Shougo/ddu.vim/denops/ddu/ddu.ts:1282:5) [denops] at async Ddu.getUi (file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/Shougo/ddu.vim/denops/ddu/ddu.ts:1349:7) [denops] at async Ddu.start (file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/Shougo/ddu.vim/denops/ddu/ddu.ts:198:39) [denops] at async Session.start (file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/Shougo/ddu.vim/denops/ddu/app.ts:134:7) [denops] at async Session.dispatch (https://deno.land/x/msgpack_rpc@v3.1.6/session.ts:99:12) [denops] at async https://deno.land/x/msgpack_rpc@v3.1.6/session.ts:108:18 [denops] at async Session.handleRequest (https://deno.land/x/msgpack_rpc@v3.1.6/session.ts:104:29) [denops] at Session.call (https://deno.land/x/msgpack_rpc@v3.1.6/session.ts:207:13) [denops] at async Service.dispatch (file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/vim-denops/denops.vim/denops/@denops-private/service.ts:117:14) [denops] at async Session.invoke (file:///C:/Users/user1/.cache/dein_test.vim/repos/github.com/vim-denops/denops.vim/denops/@denops-private/host/nvim.ts:57:16) [denops] at async Session.dispatch (https://deno.land/x/msgpack_rpc@v3.1.6/session.ts:99:12) [denops] at async Session.handleNotification (https://deno.land/x/msgpack_rpc@v3.1.6/session.ts:130:7)
Hm. If so, it is your network error instead of ddu-ui-ff
.
nothing happens with no messages.
Hm. It seems it takes time to load. But your network seems download failed. You can clear deno cache.
I will test it later in Windows. If it works, it is not problem of plugins.
Please test ddu.vim in other environments.
As you said this might not be a matter of plugins but network. As the network administrator of my office says my company stopped using https\://proxy.mycompany.com months ago, then I changed https_proxy to http://... After that and once clear all environment and reinstall, ddu-ui-ff and all sources and filters start working (some sources and filters are still 'Invalid' with full configuration though).
I apologize bothering you with such trifle basic matters(again).
Oh, so it is fixed?
some sources and filters are still 'Invalid' with full configuration though
You should check plugins reinstall. Dein.vim has call dein#reinstall()
for it.
Hi. I have tested ddu.vim
in Windows environment and it works.
So I close it.
Sorry to add to closed thread. After I added all sources, filters and ui to runtimepath, all starts working as it used to do. In fact, network issue was temporary noise and this would be the reason of this trouble. I'm sure all used to be working as I expected without this....
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
Maybe just after the fix in last week, not for sure when I execute this in EX the first time after start Neovim
:call ddu#start({})
nothing happens. and afte that, this command starts saying
[ddu] Invalid ui: "ff"
Expected
shows pop up menu
Environment Information
ddu-ui-ff version (SHA1): da3ece816c4e18b82b82f5401a4386d4922b3f02
denops.vim version (SHA1): 8f3899de3d3add07105221262dca90a31c4c2d4c
deno version(
deno -V
output): 1.31.1OS: Windows 11 22H2
neovim/Vim
:version
output: v0.8.3Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
execute this :call ddu#start({})
Screenshot (if possible)