Replies: 4 comments
-
|
The LSP only provides code actions when the cursor is over a diagnostic, to explain or fix it. You might also try Let me know if that clears things up, or if you still don't see anything! |
Beta Was this translation helpful? Give feedback.
-
|
probably because of this i cant see the opencode related hover section or code action when is make opencode a dependency to nvim-lspconfig or set activation on events like |
Beta Was this translation helpful? Give feedback.
-
|
also after triggering hover ones it seems that the eg gopls documentation is not provided anymore and i only see "Asking opencode..." i see in the output of ps that opencode was initiated with a prompt but the hover is not getting updated and i have to |
Beta Was this translation helpful? Give feedback.
-
|
@nickjvandyke is this a bug that the cursor switches to the hover window? also in general the hover(from opencode) does not return any information, i get a notification "No information available", i see opencode run(via ps i see "opencode run ") |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Im not sure how to interact with this.
In my current setup i have lsp's like gopls configured, i use
Kfor hover and i would see the documentation of the function or object, or i use<leader> cato interact with code action.If i use this with the in process lsp enabled i dont see additional options eg for code actions
Can you please explain how to use it or what setup is needed beside setting
vim.g.opencode_opts.lsp.enabled = true?Thank you
Beta Was this translation helpful? Give feedback.
All reactions