Denols Neovim
Hello Everyone, I have denols setup and we are using the imports in deno.jsonc however, I cannot seem to gd to go to a dependencies definition, any ideas why this may occur?
When I try to use gd on a base controller that comes from an import I get the following error
I have asked this in the neovim irc channel and received no response after several days so I thought I would ask here hoping someone would have some insight/feedback
I am using neovim/nvim-lspconfig and his is my entry in my lsp configuration
13 Replies
No idea what is wrong here, but maybe try to specify the correct deno binary?
@roeland Thanks for that suggestion, I have added it but I still get the same error after restarting neovim.
Anyone else have any suggestions I could try?
got similar issue
@Nicholas I am in the same boat after I disabled the offset_encoding to utf-8, see here: https://github.com/neovim/neovim/issues/30719#issuecomment-2400538866
I am not sure if the issue is due to nvim-lspconfig or lazyvim as of yet. If you end up getting past that please let me know what you found. I am going to look into this more but my time is limited currently
not a lazyvim issue for sure, I'm on a minimal setup using Kickstart.nvim, my lsp dosn't have overrides except checking the deno.json to not interfere with a regular 'ts_ls', global and mason deno version is 2.0
@Joseph Crawford I saw your comment on the nvim-lsp repo, followed others guys conversation and it seems an issue with telescope...
I applied the commit to the "telescope.nvim/lua/telescope/builtin/__lsp.lua" from here https://github.com/nvim-telescope/telescope.nvim/pull/2770/commits/2d9e3be46fcd6cba79928667a14fc557948d1ca0
It works now! :party_deno:
GitHub
fix(lsp): pass server resp through client handlers (1) by jamestrew...
For LSP methods/pickers:
references
definition
typeDefinition
implementation
Passes the server results through client (and neovim's) lsp handler function.
This lets those handlers deal wi...
@Nicholas wow thank you, I never would have found that
@Nicholas is there a way for me to apply that commit or is this something I have to wait to be merged and released? I am not sure if I applied it if updates would overwrite and then I would be fighting lazyvim's update system etc.
@Joseph Crawford you're right, local changes will actually prevent telescope updates...
hmm that is what I figured... Will keep my eye on this, being a draft currently I am not sure it will make it into an update anytime soon.
It seems like they will need to re-think their soluion as that PR is quite old and targeting < 0.10
I don't know if you figured this out but I fixed/avoided it by changing my keymaps to avoid using Telescope:
where did you put this settihng? I wasn't sure how to override lazyvim and didn't want to modify the source so I have been living without the ability
If you're using LazyVim, it should be configured this way by default: https://github.com/LazyVim/LazyVim/blob/cb40a09538dc0c417a7ffbbacdbdec90be4a792c/lua/lazyvim/plugins/lsp/keymaps.lua#L17. Maybe check that you haven't configured it differently somewhere else, such as where the
which-key
plugin is setup.GitHub
LazyVim/lua/lazyvim/plugins/lsp/keymaps.lua at cb40a09538dc0c417a7f...
Neovim config for the lazy. Contribute to LazyVim/LazyVim development by creating an account on GitHub.
yes I see that but fi believe telescope is overriding this https://github.com/LazyVim/LazyVim/blob/7c7c196a78e936a1bc4cf28e7908e9bd96d75607/lua/lazyvim/plugins/extras/editor/telescope.lua#L287
GitHub
LazyVim/lua/lazyvim/plugins/extras/editor/telescope.lua at 7c7c196a...
Neovim config for the lazy. Contribute to LazyVim/LazyVim development by creating an account on GitHub.