-
Notifications
You must be signed in to change notification settings - Fork 117
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
fix: moved hover and signatureHelp to signature.lua from lsp.lua #188
Conversation
@siduck This didn't fix anything, by putting it outside the setup function there is no check for the chadrc signature option, so it will always get executed no matter what. That's why I had put it inside there. |
@carlobonandriniunimi check now |
Doesn't work neither. I tried using a fresh install of nvchad (with the example_config provided in the install) and it STILL complains. Only solution is what I had done. I doesn't seem to be an issue with my lspconfig, maybe NvChad, maybe Noice, maybe my Noice config but I don't think so. |
Because this essentially still replaces noice's handlers with nvchad's |
That's what I was saying! It should be an option like with signature in the chadrc, it shouldn't even be that bad to do, just an if that surrounds those two commands |
there is an option in chadrc, disable that |
so why is it locked behind v3.0 and not at least backported to v2.0? |
DOES NOT WORK STILL. Even with example config from fresh install WITH lsp.signature.disabled = true. |
wait for some minutes, i'm rewriting signature.lua |
Also, in lspconfig.lua you are checking conf.signature:
But from the default_config (lsp.signature.disabled) it should be:
So you need to change the defualt_config or how you are checking that to be enabled |
@carlobonandriniunimi check now |
FIXED IT! Thanks! I think the biggest problem that I was having is that I was still using lsp.signature.disabled = false insted of lsp.signature = false. |
yea ik, although this problem led me into having a clean re-write of the signature module! 38782b6 😬 |
Moved hover and signature help setup from lsp.lua to signature.lua to fix problem with noice