matsui54 / ddc-nvim-lsp-doc

Shows completion documentation and signature help from nvim-lsp.
MIT License
21 stars 2 forks source link

[BUG] about ddc_nvim_lsp_doc#enable_signaturehelp #9

Closed phgz closed 2 years ago

phgz commented 2 years ago

Hi,

I tried setting this global variable to 0:

let g:ddc_nvim_lsp_doc#enable_signaturehelp = 0

I also tried setting it directly here:

let g:ddc_nvim_lsp_doc_config = {
        \ 'documentation': {
        \   'enable': v:true,
        \ },
        \ 'signature': {
        \   'enable': v:false,
        \ },
        \ }

, however it still shows the signature help. I checked for the variable in the code and is does not seem to be referenced anywhere. It is implemented?

Thanks!

phgz commented 2 years ago

Otherwise, features that could be nice are the possibility to have different highlights for the signatureHelp and the PUM's LSP documentation and also have the possibility to hide/toggle the signatureHelp with a command and update the actual parameter on ,.

matsui54 commented 2 years ago

Thanks for reporting! I fixed and removed variable g:ddc_nvim_lsp_doc#enable_signaturehelp as this was duplicated option.