tabs-vs-spaces.nvim
Hint and fix deviating indentation. (by tenxsoydev)
guess-indent.nvim
Automatic indentation style detection for Neovim (by NMAC427)
tabs-vs-spaces.nvim | guess-indent.nvim | |
---|---|---|
1 | 11 | |
15 | 346 | |
- | - | |
2.8 | 0.0 | |
about 1 year ago | about 1 month ago | |
Lua | Lua | |
MIT License | 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.
tabs-vs-spaces.nvim
Posts with mentions or reviews of tabs-vs-spaces.nvim.
We have used some of these posts to build our list of alternatives
and similar projects.
guess-indent.nvim
Posts with mentions or reviews of guess-indent.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
- How to config indentation per project?
- Get indent width from the formatter
-
How do I enable ftplugins in NvChad?
Instead of setting setlocal tabstop=2 shiftwidth=2 softtabstop=2 in each file, I recommend using the following plugin: guess-indent.nvim. It provides automatic indentation style detection for Neovim, which can simplify the process.
-
A Minimal Neovim Configuration for TypeScript Development featuring Lazy.nvim, LSP, Tree-Sitter, Prettier, Guess-Indent
The fantastic nmac427/guess-indent.nvim package is used to automatically detect the indentation scheme when a file is opened.
-
How do you manage to insert both plain tabs and 4-space tabs?
In addition to editorconfig, which other comments have mentioned, there are also plugins that can set your indentation options based on the presence of tabs or spaces in the files you have open. I like guess-indent.nvim.
-
Trouble detecting shiftwidth correctly
I use a combination of guess-indent.nvim and :h listchars. Here's how I use them together in my config.
-
The way indentation and syntax highlighting is handled in nvim is frustrating me
If you want to have a different indentation based on the current file context, take a look at this plugin: https://github.com/NMAC427/guess-indent.nvim
-
Neovim for web development, mainly Frontend
I'd add guess-indent to that list as well, if you're working on a project that doesn't have a set standard on indentation.
-
Different tab sizes for each language
I use this plugin guess-indent.nvim
-
What unique Neovim plugins do you use?
NMAC427/guess-indent.nvim - Automatic indentation style detection for Neovim
What are some alternatives?
When comparing tabs-vs-spaces.nvim and guess-indent.nvim you can also consider the following projects:
lsp-inlayhints.nvim
vim-sleuth - sleuth.vim: Heuristically set buffer options
indent-blankline.nvim - Indent guides for Neovim
marks.nvim - A better user experience for viewing and interacting with Vim marks.
rnoweb-nvim - A neovim plugin for rnoweb files
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
indent-o-matic - Dumb automatic fast indentation detection for Neovim written in Lua
satellite.nvim - Decorate scrollbar for Neovim
coc-phpls - 🐭 php language server for coc.nvim
nvim-compe - Auto completion Lua plugin for nvim
nvim-pasta - The yank/paste enhancement plugin for neovim.
editorconfig.nvim - EditorConfig plugin for Neovim
guess-indent.nvim vs lsp-inlayhints.nvim
guess-indent.nvim vs vim-sleuth
guess-indent.nvim vs indent-blankline.nvim
guess-indent.nvim vs marks.nvim
guess-indent.nvim vs rnoweb-nvim
guess-indent.nvim vs telescope.nvim
guess-indent.nvim vs indent-o-matic
guess-indent.nvim vs satellite.nvim
guess-indent.nvim vs coc-phpls
guess-indent.nvim vs nvim-compe
guess-indent.nvim vs nvim-pasta
guess-indent.nvim vs editorconfig.nvim