Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

[BUG] Jump to definition bind from <leader> c d is overridden by diagnostics #427

Open
robclancy opened this issue Apr 25, 2023 · 0 comments
Labels
scope: bug Something isn't working

Comments

@robclancy
Copy link

I just spent a fair while thinking the language server didn't work or I'm not understanding something because I don't see a "Jump to Definition" option. Eventually using the gd I found it was fine but I was still confused why <leader> c wouldn't have it as an option.

Well you do, but it is overridden by diagnostics.

https://github.com/doom-neovim/doom-nvim/blob/main/lua/doom/modules/features/lsp/init.lua#L355

https://github.com/doom-neovim/doom-nvim/blob/main/lua/doom/modules/features/lsp/init.lua#L368

Diagnostics should probably be set to something else.

Also pressing g doesn't give any of the LSP stuff in the help there either, but I assume that is by design.

@robclancy robclancy added the scope: bug Something isn't working label Apr 25, 2023
@robclancy robclancy changed the title [BUG] <title> [BUG] Jump to definition bind from <leader> c is overridden by diagnostics Apr 25, 2023
@robclancy robclancy changed the title [BUG] Jump to definition bind from <leader> c is overridden by diagnostics [BUG] Jump to definition bind from <leader> c d is overridden by diagnostics May 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant