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

Error executing vim.schedule lua callback: ...ar/neovim/0.10.1/share/nvim/runtime/lua/vim/lsp/util.lua:1914: index out of range
stack traceback:
    [C]: in function '_str_byteindex_enc'
    ...ar/neovim/0.10.1/share/nvim/runtime/lua/vim/lsp/util.lua:1914: in function 'locations_to_items'
    ...yVim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:205: in function 'handler'
    .../Cellar/neovim/0.10.1/share/nvim/runtime/lua/vim/lsp.lua:936: in function 'handler'
    .../neovim/0.10.1/share/nvim/runtime/lua/vim/lsp/client.lua:687: in function ''
    vim/_editor.lua: in function <vim/_editor.lua:0>


I am using neovim/nvim-lspconfig and his is my entry in my lsp configuration
denols = {
  filetypes = { "typescript", "typescriptreact" },
  root_dir = function(...)
   return nvim_lsp.util.root_pattern("deno.jsonc", "deno.json")(...)
  end,
  handlers = {
    ["textDocument/publishDiagnostics"] = nvim_lsp.diagnostic.on_publish_diagnostics,
  },
  settings = {
    deno = {
      enable = true,
      lint = true,
      unstable = true,
      suggest = {
        imports = {
          hosts = {
            ["https://deno.land"] = true,
          },
        },
      },
    },
  },
},
Was this page helpful?