lsp-inlayhints.nvim
null-ls.nvim
lsp-inlayhints.nvim | null-ls.nvim | |
---|---|---|
19 | 164 | |
423 | 3,554 | |
- | - | |
3.9 | 0.0 | |
almost 1 year ago | 10 months ago | |
Lua | Lua | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
-
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)
null-ls.nvim
- cpp setting problem
-
Being a bash developer in the 21st century
you can use nvim then, it has shellcheck for diagnostics and formatting, like in vscode :)
here the link to the config: https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main...
-
Linting/formatting and LSP
I use a lot of different languages generally and I'm running into issues around formatting. Is there any standard way to use LSP formatting by default and otherwise fallback to specific linter/formatting programs? I believe null-ls is the normal way of dealing with this, but since it's been archived, I'd rather not rely on it.
-
How to setup efm-langserver for pint formatter?
I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
- Archiving Null-Ls
- null-ls will be archived
-
Why is nobody using CoC anymore?
Because null-ls.nvim & mason.nvim together do everything I wanted CoC for
- Your favourite Neovim plugins?
-
How can I get yapf, black, and other formatters working with pylsp?
There is a good answer. I think you know lua and neovim config enough to pick things that you need. If you need a short answer, null-ls is the way.
What are some alternatives?
aerial.nvim - Neovim plugin for a code outline window
formatter.nvim
guess-indent.nvim - Automatic indentation style detection for Neovim
nvim-lspconfig - Quickstart configs for Nvim LSP
inlay-hints.nvim - almost not wip
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
incline.nvim - 🎈 Floating statuslines for Neovim, winbar alternative
StyLua - An opinionated Lua code formatter
barbecue.nvim - A VS Code like winbar for Neovim
nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
gopher.nvim - Neovim plugin for make golang development easiest
efm-langserver - General purpose Language Server