Skip to content
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

signature-help completion not working with R languageserver #9

Open
fisher-j opened this issue Apr 5, 2022 · 7 comments
Open

signature-help completion not working with R languageserver #9

fisher-j opened this issue Apr 5, 2022 · 7 comments

Comments

@fisher-j
Copy link

fisher-j commented Apr 5, 2022

I'm trying to use automatic signature completion with the R language server

I'm using the kickstart.nvim init.lua but I've added use 'hrsh7th/cmp-nvim-lsp-signature-help' to 'packer'.startup and { name = 'nvim_lsp_signature_help' }, as the first entry to sources.

Other sources are working properly and I can get manual signature help completion using vim.lsp.buf.signature_help()

@boning-w
Copy link

boning-w commented Apr 9, 2022

Also not working with Java language server: jdtls.
When I try C filetype it work fine, but not work for java filetype.

@benjaminmoon
Copy link

I also have this issue with the R language server. lsp_signature.nvim is an alternative to mitigate this, but I have to tackle working between the two plugins then and I'd rather avoid that.

Is there a way to open the R LSP signature info automatically?

@adaszko
Copy link

adaszko commented Aug 12, 2022

Same with rust-analyzer. Does cmp-nvim-lsp-signature-help rely on some particular language server capability?

@sandersantema
Copy link

You can trigger it manually with :lua vim.lsp.buf.signature_help() afaik.

The weird thing about the R language server is that contrary to the behavior of for instance the lua language server or pyright the function only works if the cursor is inside the parenthesis of the function call whereas for the aforementioned language servers it works with the cursor on the parenthesis as well.

See here:

Working:
image

Not Working:
image

It might be an error on the side of the R language server, i.e. not triggering on a parenthesis isn't standard compliant or an edge case which isn't dealt with by this plugin.

@DasOhmoff
Copy link

I have the same issue with java as well. Would be nice to have some solution here

@wywl99
Copy link

wywl99 commented Jan 13, 2023

I also have this issue with the R language server. lsp_signature.nvim is an alternative to mitigate this, but I have to tackle working between the two plugins then and I'd rather avoid that.

Is there a way to open the R LSP signature info automatically?
I also have the same problem, if you find a solution please tell me about it, thank you!

@raffaem
Copy link

raffaem commented Jun 16, 2024

Any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants