Skip to content

Latest update breaks ESC #570

@mystilleef

Description

@mystilleef

After the latest update, I can no longer use ESC to dismiss suggestions or exit insert mode. I don't have NES enabled. Is NES now required to use this plugin?

  -- copilot: intelligent code completion with AI
  {
    "zbirenbaum/copilot.lua",
    main = "copilot",
    cmd = "Copilot",
    event = "InsertEnter",
    build = ":Copilot auth",
    opts = {
      panel = { enabled = false },
      suggestion = {
        enabled = true,
        auto_trigger = true,
        debounce = 400,
        keymap = {
          accept = "<tab>",
          dismiss = [[<esc>]],
          next = [[<c-]>]],
          prev = [[<c-[>]],
        },
        filetypes = {
          TelescopePrompt = false,
          TelescopeResults = false,
          codecompanion = false,
          dressing = false,
          yaml = true,
          markdown = true,
          gitcommit = true,
          gitrebase = true,
        },
      },
    },
  },
: nvim --version
NVIM v0.12.0-nightly+19ba589
Build type: Release
LuaJIT 2.1.1741730670
Run "nvim -V1 -v" for more info

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