guess-indent.nvim
indent-blankline.nvim
guess-indent.nvim | indent-blankline.nvim | |
---|---|---|
11 | 71 | |
333 | 3,763 | |
- | - | |
0.0 | 8.5 | |
12 days ago | about 2 months ago | |
Lua | Lua | |
MIT License | 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.
guess-indent.nvim
- 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
indent-blankline.nvim
-
Use the builtin `listchars` option to implement minimalistic indent guides
Compared to the feature-rich plugins, this simple implementation has many drawbacks, such as not displaying indent guides on empty lines. I think its only advantage might be its extreme simplicity. Yes, I pursue minimalism so I wrote this piece of code. For a better (maybe best) and more comprehensive experience, please check indent-blankline.nvim.
-
Background highlight opacity?
Hi, I am wondering if anyone knows if it's possible to set background highlight opacity. The reason I want to do this is because I have a partially transparent background in my terminal and I would like to set highlights for indent blankline. I have tried using the `blend` option for the highlights but I think it only works for popup menus and windows?
-
How to only load a plugin when a function is called (Plugged)?
you're better off relying on the plugin author to add per-filetype/buffer options to disable the functionality of the plugin, for example if the plugin in question is indent-blankline.nvim then you can set g:indent_blankline_enabled to false and within that function you mention, you can set b:indent_blankline_enabled to true.
- Looking For A Plugin For Indentations
-
Treesitter Error: attempt to index local 'query' (a nil value)
i think it's indent-blankline
- Is there a way to get these vertical code boundaries (vertical lines showing blocks of code) like in vscode ?
-
Looking for some kinda specific plugins for visibility
https://github.com/lukas-reineke/indent-blankline.nvim complements further.
-
Color scheme changes when rust_analyzer finishes
I think he meant the indent guides? In which case the best plugin is https://github.com/lukas-reineke/indent-blankline.nvim
-
How to add code block margin line in neovim?
You are looking for the indent-blankline plugin
-
darkrose.nvim - a low-contrast colorscheme based on rose colors for dark theme lovers
I use indent-blankline.nvim for them, which is also supported by my plugin.
What are some alternatives?
lsp-inlayhints.nvim
indentLine - A vim plugin to display the indention levels with thin vertical lines
vim-sleuth - sleuth.vim: Heuristically set buffer options
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
marks.nvim - A better user experience for viewing and interacting with Vim marks.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
rnoweb-nvim - A neovim plugin for rnoweb files
indent-guides.nvim
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
nvim-treesitter-refactor - Refactor module for nvim-treesitter
indent-o-matic - Dumb automatic fast indentation detection for Neovim written in Lua
tree-sitter - An incremental parsing system for programming tools