ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.09k stars 58 forks source link

Disable print hover not supported #16

Closed seblj closed 3 years ago

seblj commented 3 years ago

I find the printing of hover not supported slightly annoying if I am in a buffer that does not support signature help. It would be great if there was an option for disabling this print

kkharji commented 3 years ago

Oh god, I came here for the same reason, yah it's pretty annoying.

@ray-x, I suggest using plenery.log, and if the user want to see error message and debug, user can just let a global variable be true. e.g. lua _LSPSIG_DEBUG = true

ray-x commented 3 years ago

Thanks for the suggestion. May I know what lsp you are using? If hover not enabled, does it have any side effects?

seblj commented 3 years ago

I have configured python, rust, sqlls, html, vim, vue, json, cpp, css, csharp, bash, lua, typescript and latex, but none of them are active and attached when it's printing.

I have not seen any side effects when it's not enabled so far

kkharji commented 3 years ago

I had the issue with swift language server, I believe this was the first time I had the issue.

ray-x commented 3 years ago

Thanks for your advice. I have update plugin and using log now. Unless it is enable, you should not see the print statement