Skip to content

Minimal Neovim setup to reproduce the Tab key issue while using the plugins nvim-cmp and Copilot.vim.

Notifications You must be signed in to change notification settings

thled/vim_copilot_cmp_issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PoC: nvim-cmp incompatible with Copilot.vim

UPDATE: This is the fixed version where the Copilot.vim configurations are loaded at start-up and not in the after module.

Minimal Neovim setup to reproduce the Tab issue while using the plugins nvim-cmp and Copilot.vim.

Linked issue: hrsh7th/nvim-cmp#459

Requirements

Installation

  1. Clone this repository:

    git clone git@github.com:thled/vim_copilot_cmp_issue.git
  2. Change to project directory:

    cd vim_copilot_cmp_issue
  3. Build image

    docker build -t vim_copilot_cmp_issue .

Usage

docker run --rm -it vim_copilot_cmp_issue

Reproduce issue

Steps

  1. Run container.
  2. Create a file.
  3. Change to Insert mode.
  4. Press Tab.

Expected behaviour

It inserts a tab indent.

Actual behaviour

It inserts <Plug>(cmp.utils.keymap.recursive: ).

Showcase

About

Minimal Neovim setup to reproduce the Tab key issue while using the plugins nvim-cmp and Copilot.vim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages