vim-indent-guides
vim-sleuth
vim-indent-guides | vim-sleuth | |
---|---|---|
5 | 27 | |
2,608 | 1,789 | |
0.2% | - | |
0.8 | 0.0 | |
11 months ago | about 1 month ago | |
Vim Script | 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.
vim-indent-guides
-
My Emacs eye candy
Upvote to the "skinny guides" (thin vertical lines) feature linked from your TODO: https://github.com/preservim/vim-indent-guides#screenshots
-
What are your must-have vim/nvim extensions?
nathanaelkane/vim-indent-guides - Visualize indent levels
-
What is Your Preferred Vim Setup When Writing Code in Raku?
My vim looks like most peoples, I guess. I have a few plugins to make things pretty, eg. LightLine and IndentGuides, and I use Syntastic for linting. I tried Ale but found it too annoying in practice.
-
Plugins alternative in Lua
https://github.com/nathanaelkane/vim-indent-guides (I tried various for neovim but they wasn't working good as this one)
-
Examples of advanced workflow
Probably https://github.com/nathanaelkane/vim-indent-guides
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?
rainbow - Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
vim-polyglot - A solid language pack for Vim.
vim-move - Plugin to move lines and selections up and down
nvim-autopairs - autopairs for neovim written in lua
dotfiles - Dotfiles for macOS
limelight.vim - :flashlight: All the world's indeed a stage and we are merely players
vim-rooter - Changes Vim working directory to project root.
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
evil - The extensible vi layer for Emacs.
yapf - A formatter for Python files