windwp / nvim-autopairs

autopairs for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't add bracket for python function or method

Weissle opened this issue · comments

Description

#404 make some special action for python file.
However, it still did not work. I believe that is because the rules in here is empty.

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

I believe it is easy enough to reproduce. Just use pyright as lsp and complete a funtion for example os.path.join, the wanted bracket will not show up.

Minimal config

Didn't setup properly. Work after setup.