windwp / nvim-autopairs

autopairs for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typing < (less than) introduces a pause and the cursor is placed before it

kedodrill opened this issue · comments

Description

This seems to be a visual bug. This seems to happen anywhere. If you type the first character of a pair, the pair is completed and you are in the correct position...it's still a little annoying though and I would like to know if I could fix it. Commenting this plugin out in my config removes this issue.

Mapping bug

Steps to reproduce

npairs

Minimal config

I am just using the most basic lazy.nvim config from the README. I'm using nvim-cmp.

This is not an autopairs issue. I played with my config more and realized that I had a mapping for nvim-cmp like so:

['<C-b'] = cmp.mapping.scroll_docs(-4),

notice the missing > for the key...lol. my bad on this, closing. Could have swore commenting this plugin out fixed it...but I guess I instead stashed my changes or something which included these keymaps.