pear-tree
pear-tree copied to clipboard
A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more
Goal: Have a pair of open/close characters which only autopair if not preceded by a space. Why: Autopairing with C++ templates (leveraging my habit of always preceding an operator '
 Braces are indented inconsistently when the smartindent option is set.
...specifically, [endwise.vim](https://github.com/tpope/vim-endwise), a vital plugin for languages like ruby and viml that use `end` (and its variants) to close code blocks. A quickfix is to change: ```viml imap (PearTreeExpand) ```...
Is there a way to get indentation working with treesitter indent?
The wildcard behavior for HTML autocomplete is a great feature. I'm running into the issue however that for standalone tags the autocomplete will run unnecessarily. Also, the wildcard is smart...
For example, in C++, we need a semicolon at the end of every line, so if I call the function Foo with parameter 24, by using this plugin, I will...
I use a lot of C++ and I do not want bracket completion for angular brackets, namely ''. Is there any way to disable this? I couldn't find any. Thanks...
```text (defun f (x) ""|) ``` `` I get: ``` (defun f (x) "" | ) ``` expected: ``` (defun f (x) "" |) ``` this doesn't expand that way:...
When inside quotes, entering `{` does not trigger the closer `}`. Expected: ``` "|" "{|}" ``` Actual: ``` "|" "{|" ```
I have pear tree configured for smart pairs, and while having a pair inside a string, trying to press '(' and ')' inserts another closing pair:  Expected behavior -...