guess-indent.nvim
Automatic indentation style detection for Neovim (by NMAC427)
lsp-inlayhints.nvim
By lvimuser
guess-indent.nvim | lsp-inlayhints.nvim | |
---|---|---|
11 | 19 | |
333 | 423 | |
- | - | |
0.0 | 3.9 | |
12 days ago | 11 months ago | |
Lua | Lua | |
MIT License | Apache License 2.0 |
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.
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
lsp-inlayhints.nvim
Posts with mentions or reviews of lsp-inlayhints.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-06.
-
Help needed with setting up inlay hints
Thanks for the reply! I also wanted to make it work with clangd, but it won't. I stumbled upon this issue. Maybe you have enough knowledge to figure this out, I don't know how to set up this compilation database. I installed clangd using Mason, and configured it via lspconfig basically the same way as the guy in the issue I linked did. Also, I'm using the newest nightly.
-
Forking of rust-tools.nvim
I don't understand why inlay hints must be implemented in a rust-specific plugin. https://github.com/lvimuser/lsp-inlayhints.nvim exists, has support for inline inlay hints (on a separate branch for now) and works with rust (and should work any language server since inlay hints are part of the spec). Am I missing something?
-
feat(ui): inline virtual text #20130 just merged
To use inlay hints in typescript an rust you would need this plugin: https://github.com/lvimuser/lsp-inlayhints.nvim It provides example in the readme on how to setup inlay hints for typescript and rust. For now the master brach has "old" inlay hints implementation but there is a branch that implement new one. And of course you will need nightly version for that for now.
-
rust-analyzer changelog #181
https://github.com/lvimuser/lsp-inlayhints.nvim (Multiple langs)
-
How to enable inlay hints for ocamllsp?
But it doesn't seem to work. I also tried lvimuser/lsp-inlayhints.nvim with no luck. Any advice of how to properly enable this feature when ocamllsp server is attached? Thank you in advance.
-
Help with finding a plugin & workflow
I have inlay hints working in nvim with lvimuser/lsp-inlayhints.nvim, no special configuration other than the LspAttach block from their README. The caveat is that your LSP server has to support inlay hints.
-
Please inform me of the plugin(s) enabling these two features
The second one might be https://github.com/lvimuser/lsp-inlayhints.nvim
-
tsserver configuration options
you can use nvim-lspcofig for LSP support, mason.nvim for installing LSP servers, linters, formatters and debug adapters. nvim-cmp for completions, luasnip for snippets, null-ls for configuring your formatter and linters , lsp-inlayhints for inlay hints.
-
getting inline rust analyzer error hints with neovim
Inlay hints are available through rust-tools.nvim, or lsp-inlayhints.nvim.
-
Is it possible to get inlay hints with Omnisharp?
iirc, inlay hints aren't supported by nvim's built-in LSP, but you can get them with the inlay-hints plugin: https://github.com/lvimuser/lsp-inlayhints.nvim (if the LSP for omnisharp also supports them)
What are some alternatives?
When comparing guess-indent.nvim and lsp-inlayhints.nvim you can also consider the following projects:
vim-sleuth - sleuth.vim: Heuristically set buffer options
aerial.nvim - Neovim plugin for a code outline window
indent-blankline.nvim - Indent guides for Neovim
inlay-hints.nvim - almost not wip
marks.nvim - A better user experience for viewing and interacting with Vim marks.
incline.nvim - 🎈 Floating statuslines for Neovim, winbar alternative
rnoweb-nvim - A neovim plugin for rnoweb files
barbecue.nvim - A VS Code like winbar for Neovim
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
gopher.nvim - Neovim plugin for make golang development easiest
indent-o-matic - Dumb automatic fast indentation detection for Neovim written in Lua
SchemaStore.nvim - 🛍 JSON schemas for Neovim
guess-indent.nvim vs vim-sleuth
lsp-inlayhints.nvim vs aerial.nvim
guess-indent.nvim vs indent-blankline.nvim
lsp-inlayhints.nvim vs inlay-hints.nvim
guess-indent.nvim vs marks.nvim
lsp-inlayhints.nvim vs incline.nvim
guess-indent.nvim vs rnoweb-nvim
lsp-inlayhints.nvim vs barbecue.nvim
guess-indent.nvim vs telescope.nvim
lsp-inlayhints.nvim vs gopher.nvim
guess-indent.nvim vs indent-o-matic
lsp-inlayhints.nvim vs SchemaStore.nvim