lsp-inlayhints.nvim
By lvimuser
LuaSnip
Snippet Engine for Neovim written in Lua. (by L3MON4D3)
lsp-inlayhints.nvim | LuaSnip | |
---|---|---|
19 | 77 | |
423 | 3,027 | |
- | - | |
3.9 | 9.2 | |
11 months ago | 8 days ago | |
Lua | Lua | |
Apache License 2.0 | 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.
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)
LuaSnip
Posts with mentions or reviews of LuaSnip.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-16.
-
UltiSnips – Snippet Solution for Vim
If you're using Neovim, check out LuaSnip: https://github.com/L3MON4D3/LuaSnip
-
What is your preferred snippet plug-in?
I’ve been using LuaSnip and never put much thought into it. And this was mainly because of because it seemed like the default and had good LSP integration. The one downside is that creating custom snippets is not that ergonomic, but I don’t mind it if it’s the price to pay for speed.
-
HTML and Css snippets
You can use LuaSnip and load snippets from VSCode. The documentation is pretty complete, but here is my config in case you want another reference.
-
Enabling python's snippets.
I am trying to add snippets for python, i have LuaSnip and friendly-snippets installed, but for some reason it does not load the snippets. This is how i load the plugins:
-
[Help] Paste triggers in Select mode
There was a similar issue in LuaSnip repo. The culprit was a keymap in the config. Do you happen to have a similar keymap somewhere in your config?
-
My Haskell snippet collection for Neovim - with tree-sitter and LSP
I have decided to extract my Haskell snippets for LuaSnip into a plugin: haskell-snippets.nvim.
-
How do I use template files via Lua?
Not exactly what you're talking about but you could look into LuaSnip?
-
How to setup 'nvim-cmp' properly?
There are a few more resources for new users as well on the official repo, and you can find the implementation in Examples/snippets.lua
-
Does anyone know how to quickly create class, interface, record, ...etc in java with nvim
You mean snippets? If yes, you can try Luasnip and friendly-snippets with nvim-cmp and here's the setup guide. Hope it helps
-
Why does tab sometimes send me to a random position in my buffer?
I had the same issue recently. It was the case when I inserted a snippet but didn't fill out all the placeholders right away. This helped me. This is an autocommand that unlinks the unfinished snippet when you change the mode.
What are some alternatives?
When comparing lsp-inlayhints.nvim and LuaSnip you can also consider the following projects:
aerial.nvim - Neovim plugin for a code outline window
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
guess-indent.nvim - Automatic indentation style detection for Neovim
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
inlay-hints.nvim - almost not wip
friendly-snippets - Set of preconfigured snippets for different languages.
incline.nvim - 🎈 Floating statuslines for Neovim, winbar alternative
nvim-snippy - Snippet plugin for Neovim written in Lua
barbecue.nvim - A VS Code like winbar for Neovim
snippets.nvim
gopher.nvim - Neovim plugin for make golang development easiest
nvim-cmp - A completion plugin for neovim coded in Lua.
lsp-inlayhints.nvim vs aerial.nvim
LuaSnip vs vim-vsnip
lsp-inlayhints.nvim vs guess-indent.nvim
LuaSnip vs ultisnips
lsp-inlayhints.nvim vs inlay-hints.nvim
LuaSnip vs friendly-snippets
lsp-inlayhints.nvim vs incline.nvim
LuaSnip vs nvim-snippy
lsp-inlayhints.nvim vs barbecue.nvim
LuaSnip vs snippets.nvim
lsp-inlayhints.nvim vs gopher.nvim
LuaSnip vs nvim-cmp