pears.nvim
Auto pair plugin for neovim (by steelsojka)
pear-tree
A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more (by tmsvg)
Our great sponsors
pears.nvim | pear-tree | |
---|---|---|
4 | 7 | |
208 | 389 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | over 4 years ago | |
Lua | Vim Script | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pears.nvim
Posts with mentions or reviews of pears.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-07.
-
Need help with autopairs
I can recommend you nvim-autopairs, pears and smart-pairs. I tried them all and took my decision.
-
Pears plugin not working
Hi, for some reason I can't get the steelsojka/pears plugin to work. This is my ~/.config/nvim/lua/plugins/packer.lua:
-
Which new Neovim pairing plugin do you prefer: nvim-autopairs or pears.nvim?
So both nvim-autopairs and pears.nvim have popped on scene quite recently.
- Is there a tree-sitter based auto-pairs plugin?
pear-tree
Posts with mentions or reviews of pear-tree.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-02.
-
Transitioning from fzf.vim to Telescope
After some digging, it turned out the problem was caused by the plugin tmsvg/pear-tree. The solution outlined here worked for me.
-
Do vim users tend to enter insert mode and exit insert mode often in order to do simple movements using hjkl while writing? Or do you switch between arrow keys in insert mode and hjkl depending on what mode you're in?
https://github.com/tmsvg/pear-tree (the one I use)
-
The curse of strong typing by fasterthanlime
In general, having an LSP update the document at unexpected times is problematic for me (especially when the document being checked at random times leads to big flickers of temporary syntax error worse than what I installed pear-tree to reduce from typing things like quotes).
-
What are your must-have vim/nvim extensions?
tmsvg/pear-tree for an extensible autocloser (I hate closing GHC {-# LANGUAGE ... #-} myself, and it's not built into any of the common plugins AFAIK)
-
When to switch to normal mode while writing in vim
Most pair matching plugins will let you type the closing brackets explicitly, and skip over them if they're already there. For instance, in pear-tree you'll want to enable Smart Pairing. So that's the easiest answer to your question. If your current plugin doesn't support that sort of behavior, I'd suggest finding one that does; it makes things so much nicer!
-
Which new Neovim pairing plugin do you prefer: nvim-autopairs or pears.nvim?
Myself, I have been and continue to be a pear-tree user. Works reasonably well, but it does seem to be an abandoned plugin these days. Though I do like that pear-tree has tag pairing support in addition to traditional bracket pairing.
-
How can I correctly map compe#confirm() with jiangmao/auto-pairs?
I know this is not the answer you're looking for, but I have tried a lot of auto pairs like plugins and I always have had problems with any of them. This week tried Lexima instead of https://github.com/tmsvg/pear-tree, and I must admit that Lexima is pretty cool. You could try with Lexima and see if it fits your needs.
What are some alternatives?
When comparing pears.nvim and pear-tree you can also consider the following projects:
nvim-autopairs - autopairs for neovim written in lua
nvim-ts-closetag - Use treesitter to auto close and auto rename html tag
lexima.vim - Auto close parentheses and repeat by dot dot dot...
surround.nvim - A surround text object plugin for neovim written in lua.
auto-pairs - Vim plugin, insert or delete brackets, parens, quotes in pair
smart-pairs - Ultimate smart pairs written in lua!
nvim-compe - Auto completion Lua plugin for nvim
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
pears.nvim vs nvim-autopairs
pear-tree vs nvim-autopairs
pears.nvim vs nvim-ts-closetag
pear-tree vs lexima.vim
pears.nvim vs surround.nvim
pear-tree vs auto-pairs
pears.nvim vs smart-pairs
pear-tree vs surround.nvim
pear-tree vs nvim-compe
pear-tree vs vim-unimpaired
pear-tree vs ale
pear-tree vs vim-fugitive