Skip to content

[Bug] From version 2.8.0 the plugin stopped working - Found 0 endpoints #64

@gi4c0

Description

@gi4c0

Neovim Version

0.11.5

Plugin Version

2.8.0

Framework

NestJS (TypeScript)

Configuration

return {
  "zerochae/endpoint.nvim",
  dependencies = {
    "folke/snacks.nvim",            -- For snacks picker
  },
  cmd = { "Endpoint", "EndpointRefresh" },
  config = function()
    require("endpoint").setup {
        picker = {
            type = 'snacks'
        }
    }
  end,

  keys = {
      { '<leader>se', ':Endpoint<CR>', silent = true, desc = 'Find Endpoints' },
      { '<leader>sEp', ':Endpoint Post<CR>', silent = true, desc = 'Find Endpoints POST' },
      { '<leader>sEP', ':Endpoint Put<CR>', silent = true, desc = 'Find Endpoints PUT' },
      { '<leader>sEr', ':EndpointRefresh<CR>', silent = true, desc = 'Find Endpoints PUT' },
  }
}

What happened?

After updating from 2.7.0 to 2.8.0 it can't find any endpoints showing the errors:

[endpoint.nvim] Scanning endpoints: Found 0 endpoints
No  endpoints found
Image

So I had to downgrade to previous version where it works fine.

Expected behavior

Finds endpoints as usual

Steps to reproduce

Run :Endpoints<CR>

Error logs

[endpoint.nvim] Scanning endpoints: Found 0 endpoints
No  endpoints found

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions