guess-indent.nvim
Comment.nvim
guess-indent.nvim | Comment.nvim | |
---|---|---|
11 | 62 | |
333 | 3,540 | |
- | - | |
0.0 | 5.6 | |
13 days ago | 27 days 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
Comment.nvim
-
My 2024 PDE: NeoVim
Treesitter is a syntax parser that'll build a tree-like structure to enable anything from excellent syntax highlighting through to complex refactoring. There are so many creative ways you can use Treesitter, from jumping around text objects to commenting sections of code, it's a must-have in my books.
- Do I need a plugin manager ?
-
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).
- [Neovim] Appel pour les tests - Intégration native JSX dans comment.nvim
-
How do I use this documentation to override default configuration? Learning the NeoVim ecosystem
I am reading the documentation for the [Comments](https://github.com/numToStr/Comment.nvim] plugin with :h comment.config and I see this
-
Plugin for comments
I was wondering what plugins you use for comments, actually, I'm using numToStr/Comment.
-
Question for lua Plugin devs.
Nowadays, people (mostly) autogenerate their help docs with either markdown or emmmylua are their source. You are facing an issue that I faced before with Comment.nvim.
-
What is the best commenter for tsx, jsx and css files with lua config
Comment.nvim?
-
Treesitter is unusable on typescript files
Based on your reply I recommend taking out the comment plugin, replacing it with https://github.com/nvim-treesitter/nvim-treesitter-textobjects and https://github.com/numToStr/Comment.nvim
- How to surround a paragraph with multiple charaters/symbols?
What are some alternatives?
lsp-inlayhints.nvim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-sleuth - sleuth.vim: Heuristically set buffer options
kommentary - Neovim commenting plugin, written in lua.
indent-blankline.nvim - Indent guides for Neovim
nvim-ts-context-commentstring - Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
marks.nvim - A better user experience for viewing and interacting with Vim marks.
commented.nvim - Neovim commenting plugin in Lua. Support operator, motions and more than 60 languages! :fire:
rnoweb-nvim - A neovim plugin for rnoweb files
fzf-lua - Improved fzf.vim written in lua
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
vim-commentary - commentary.vim: comment stuff out