-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getPreviewer
does not work when using lspEngine: 'vim-lsp'
#61
Comments
Reproduced. But I don't know what fix is correct. |
Timeout error was resolved by inserting vim sleep command. ddc-source-lsp/denops/ddc-source-lsp/request.ts Lines 61 to 65 in 2bdd53c
However, it failed the validation check. ddc-source-lsp/denops/@ddc-sources/lsp.ts Lines 267 to 269 in 2bdd53c
:message
It is caused by the difference in the format of the returned object depending on
|
I don't reproduce the timeout error unfortunately, but |
Please test the latest plugins and Vim again. |
I updated the plugins, Vim, and "How to reproduce the problem", and tested. How to reproduce the problem
Modified ddc-source-lsp
If
:message
Environment Information
|
I don't reproduce your error but the error message is displayed.
|
I've tried various things such as rebuilding the environment, updating Vim and the plugins, and testing with gVim, but I could not reproduce your error. Since I'm getting nowhere, should I create a pull request for the |
OK. Please create it. I will test it later. |
OK. I'll create some PRs because there are a few things to fix. |
Problems summary
When calling
ddc#get_previewer({item})
while configuringlspEngine: 'vim-lsp'
,getPreviewer
does not work due to timeout.Expected
It gets additional information for a given completion item.
Environment Information
ddc-source-lsp version (SHA1):
3958289
ddc-ui-none version (SHA1):
1c12bc3
ddc.vim version (SHA1):
4e1ae49
denops.vim version (SHA1):
2a39384
vim-lsp version (SHA1):
f7ccf00
vim-lsp-settings version (SHA1):
54ade15
deno version(
deno -V
output):deno 1.43.2
OS:
Ubuntu 22.04.4 LTS in WSL2
neovim/Vim
:version
output:NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794
VIM - Vi IMproved 9.1 Included patches: 1-401
Compiled by asdf
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_urxvt -tag_any_white
+arabic +find_in_path +mouse_xterm -tcl
+autocmd +float +multi_byte +termguicolors
+autochdir +folding +multi_lang +terminal
-autoservername -footer -mzscheme +terminfo
-balloon_eval +fork() +netbeans_intg +termresponse
+balloon_eval_term +gettext +num64 +textobjects
-browse -hangul_input +packages +textprop
++builtin_terms +iconv +path_extra +timers
+byte_offset +insert_expand -perl +title
+channel +ipv6 +persistent_undo -toolbar
+cindent +job +popupwin +user_commands
-clientserver +jumplist +postscript +vartabs
-clipboard +keymap +printer +vertsplit
+cmdline_compl +lambda +profile +vim9script
+cmdline_hist +langmap -python +viminfo
+cmdline_info +libcall -python3 +virtualedit
+comments +linebreak +quickfix +visual
+conceal +lispindent +reltime +visualextra
+cryptv +listcmds +rightleft +vreplace
+cscope +localmap -ruby +wildignore
+cursorbind -lua +scrollbind +wildmenu
+cursorshape +menu +signs +windows
+dialog_con +mksession +smartindent +writebackup
+diff +modify_fname -sodium -X11
+digraphs +mouse -sound +xattr
-dnd -mouseshape +spell -xfontset
-ebcdic +mouse_dec +startuptime -xim
+emacs_tags +mouse_gpm +statusline -xpm
+eval -mouse_jsbterm -sun_workshop -xsmp
+ex_extra +mouse_netterm +syntax -xterm_clipboard
+extra_search +mouse_sgr +tag_binary -xterm_save
-farsi -mouse_sysmouse -tag_old_static
Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
path_to_test_ts
in init.vim/vimrcUpload the log messages by :redir and :message (if errored)
Note
Where timeout error occurs is
ddc-source-lsp/denops/@ddc-sources/lsp.ts
Lines 255 to 270 in 3958289
debug code
ddc-source-lsp/denops/@ddc-sources/lsp.ts
Lines 267 to 270 in 3958289
ddc-source-lsp/denops/ddc-source-lsp/request.ts
Lines 47 to 51 in 3958289
:message
The text was updated successfully, but these errors were encountered: