Description
When I am in Go file, I type const () and click Enter.
const (
<- must be here
)
| <- cursor
This started recently.
i <CR> * v:lua.require'nvim-autopairs'.completion_confirm()
autopairs completion confirm
Last set from ~/.config/nvim/init.lua (run Nvim with -V1 for more details)
Mapping bug
1.If you report a bug about indent. Please remember that plugin doesn't do anything about indent.
It just trigger the indent of your vim config so if you have wrong indent config then it will do wrong indent.
You can check by select a block of code and press ==
2. provide result of command :verbose imap <cr>.
Steps to reproduce
- Open Go file
- Type const (
- Closing ) appears
- (CURSOR IS HERE)
- Press Enter
- cursor is not insiude
Minimal config
require("nvim-autopairs").setup()
Description
When I am in Go file, I type
const ()and click Enter.This started recently.
Mapping bug
1.If you report a bug about indent. Please remember that plugin doesn't do anything about indent.
It just trigger the indent of your vim config so if you have wrong indent config then it will do wrong indent.
You can check by select a block of code and press
==2. provide result of command
:verbose imap <cr>.Steps to reproduce
Minimal config