Closed keonly closed 2 days ago
Thanks for the issue!
This is an intended behavior because pair can consist only from two characters and customization can be done only based on two-character cursor neighborhood . See #31 for more details.
Closing as duplicate.
Contributing guidelines
Module(s)
mini.pairs
Description
When typing triple quotes / backticks (e.g., raw string in Python, code block in Markdown), mini.pairs writes only one quote / backtick behind the cursor.
mini.pairs seems to be understanding each symbol separately; when three symbols are entered, it adds one symbol after the first one, thinks the second symbol is the closing symbol for the first one, and adds one symbol after the third one.
Neovim version
0.10.0
Steps to reproduce
Expected behavior
Three quotes / backticks are generated behind the cursor.
Actual behavior
Only one is generated behind the cursor.
https://github.com/echasnovski/mini.nvim/assets/70371393/970e09bf-edf4-4568-83de-dbd34be01b32