nvim-autopairs
vim-sleuth
Our great sponsors
nvim-autopairs | vim-sleuth | |
---|---|---|
53 | 27 | |
2,847 | 1,784 | |
- | - | |
7.4 | 0.0 | |
17 days ago | about 1 month ago | |
Lua | Vim Script | |
MIT License | - |
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.
nvim-autopairs
-
nvim-autopairs getting out of a pair with tab
I would like to be able to jump out of a pair generated by nvim-autopairs (https://github.com/windwp/nvim-autopairs) using a Tab. To me it is impossible to get out of the habit of using tab for it, as placing an autopair looks and feel like a snippet, and I typically move out of a snippet with a tab.
-
Noobie Needs a Nudge
A couple nice quality of life plugins would be: Comment (which lets you use a keybinding to comment/uncomment things), Autopairs (which will make the paired brackets/parentheses/etc.), and Rainbow2 (which color-matches the pairs if things like parentheses).
-
Set it and forget it plugins?
abecodes/tabout.nvim windwp/nvim-autopairs
-
mini.files - navigate and manipulate file system (with column view and editing text)
As an example, I give a slight edge to windwp/nvim-autopairs because it can turn 'test' into {'test'} just by pressing { instead of me having to use surround with something like gzaa'{
-
What's your solution to move between " "?
autopairs has worked for me
- Pair autoclose plugin
-
When pressing completing the suggestion for a method using `cmp` and `LSP`, is possible to have the arguments in the the completion?
I think I have two plugins that affect this -- nvim-autopairs and cmp
-
How to add "|" to auto-pairs for it to be automatically paired-up with another "|"?
For Rust closures, I'd like to have an autopair for "|" -- any idea how to actually add that to the nvim-autopairs plugin? (https://github.com/windwp/nvim-autopairs) This plugin has a lot of fancy stuff I do not need, but I'm not sure how to do this very basic thing.
- Awkwardness when typing in '\n' or '\t' or (...) [...] etc. -- (Have others noticed this too?) -- (is there a better way?)
-
Issue with adding rule in nvim-autopairs
Having trouble with nvim-autopairs. I'm trying to define a rule for automatically closing $ in .tex files, but I keep getting this error
vim-sleuth
-
How can I set my TAB key to be 4 spaces indent?
In addition to setting tabstop and shiftwidth, you might also like this plugin: https://github.com/tpope/vim-sleuth
-
[HELP] File type specific plugin is ignored
vim-sleuth auto detects tab size so...
-
What did I do to deserve this kind of torture
Just add https://github.com/tpope/vim-sleuth and never worry about it again.
- HELP: save options in sessions
-
Learning Rust, I didn't expect such a backstab
At the end of the day I don't really care which a project goes with, I've always just used vim-sleuth to automatically set my tab key to input whatever the current file's indentation is.
-
Trouble detecting shiftwidth correctly
VsCode has an internal function from auto-detecting indentation, while my config uses vim-sleuth with indent-blankline.nvim.
-
Builtin EditorConfig support
If you work a lot on legacy codebases, https://github.com/tpope/vim-sleuth is probably more what you need than editorconfig, as it will work even when one is not present.
-
New plugin for handling soft/hard line wrapping - wrapping.nvim
The primary advantage of using it is that it has built in heuristics for detecting line wrapping when opening a file (with some Treesitter magic for Markdown to make it more accurate), and also allows for manual swapping between wrapping types. You can think of it as the wrapping equivalent to vim-sleuth.
-
How do I force Neovim to always give me two space indents (or the correct indent) everywhere.
I just found about Tim Pope's sleuth: https://github.com/tpope/vim-sleuth It supports editorconfig but it also seems to have just better heuristics when an editorconfig file isn't present, so I just decided to replace `editorconfig-vim` with it.
-
How to set indentation dynamically based on language?
Another solution is try sleuth.vim, that sets automatically your indentation based on the project, buffer and editorconfig
What are some alternatives?
nvim-ts-closetag - Use treesitter to auto close and auto rename html tag
vim-polyglot - A solid language pack for Vim.
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
limelight.vim - :flashlight: All the world's indeed a stage and we are merely players
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
pear-tree - A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
yapf - A formatter for Python files
emmet-ls - Emmet support based on LSP.
vim-mucomplete - Chained completion that works the way you want!