lspkind-nvim VS rust-tools.nvim

Compare lspkind-nvim vs rust-tools.nvim and see what are their differences.

lspkind-nvim

vscode-like pictograms for neovim lsp completion items [Moved to: https://github.com/onsails/lspkind.nvim] (by onsails)

rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp (by simrat39)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
lspkind-nvim rust-tools.nvim
4 90
541 2,165
- -
6.2 0.0
about 2 years ago 4 months ago
Lua Lua
MIT License MIT License
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.

lspkind-nvim

Posts with mentions or reviews of lspkind-nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-16.
  • Configurando Neovim para Java
    2 projects | dev.to | 16 Jul 2023
    local cmp = require 'cmp'; local lspkind = require 'lspkind' cmp.setup({ snippet = { expand = function(args) require('luasnip').lsp_expand(args.body) end }, mapping = cmp.mapping.preset.insert({ ['C-Space'] = cmp.mapping.complete(), [''] = cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true }), }), sources = cmp.config.sources({ { name = 'nvim_lsp' }, { name = 'buffer' }, }), formatting = { format = lspkind.cmp_format({ mode = 'symbol', -- show only symbol annotations maxwidth = 50, -- prevent the popup from showing more than provided characters (e.g 50 will not show more than 50 characters) ellipsis_char = '...', -- when popup menu exceed maxwidth, the truncated part would show ellipsis_char instead (must define maxwidth first) -- The function below will be called before any actual modifications from lspkind -- so that you can provide more controls on popup customization. (See [#30](https://github.com/onsails/lspkind-nvim/pull/30)) before = function(entry, vim_item) return vim_item end }) } }) require('jdtls').start_or_attach(config)
  • Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
    28 projects | dev.to | 1 Jan 2023
    lspkind-nvim: plugin para adicionar ícones nas entidades de LSP (classe, método, snippet, etc) igual ao VS Code.
  • My Neovim setup for React, TypeScript, Tailwind CSS, etc
    34 projects | dev.to | 9 Aug 2022
    onsails/lspkind-nvim - VSCode-like pictograms
  • CMP acting up
    1 project | /r/neovim | 16 Jun 2022
    local cmp_status_ok, cmp = pcall(require, "cmp") if not cmp_status_ok then return end local lspkind_status_ok, lspkind = pcall(require, "lspkind") if not lspkind_status_ok then return end local check_backspace = function() local col = vim.fn.col(".") - 1 return col == 0 or vim.fn.getline("."):sub(col, col):match("%s") end local source_mapping = { nvim_lsp = "[LSP]", cmp_tabnine = "[TN]", buffer = "[Buffer]", path = "[Path]", } cmp.setup({ mapping = { [""] = cmp.mapping.select_prev_item(), [""] = cmp.mapping.select_next_item(), [""] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }), [""] = cmp.mapping(cmp.mapping.scroll_docs(1), { "i", "c" }), [""] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }), [""] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `` mapping. [""] = cmp.mapping({ i = cmp.mapping.abort(), c = cmp.mapping.close(), }), -- Accept currently selected item. If none selected, `select` first item. -- Set `select` to `false` to only confirm explicitly selected items. [""] = cmp.mapping.confirm({ select = true }), [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() else fallback() end end, { "i", "s" }), [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_prev_item() else fallback() end end, { "i", "s" }), }, formatting = { fields = { "kind", "abbr", "menu" }, format = lspkind.cmp_format({ mode = "symbol_text", -- options: 'text', 'text_symbol', 'symbol_text', 'symbol' maxwidth = 40, -- prevent the popup from showing more than provided characters (e.g 50 will not show more than 50 characters) -- The function below will be called before any actual modifications from lspkind -- so that you can provide more controls on popup customization. (See [#30](https://github.com/onsails/lspkind-nvim/pull/30)) before = function(entry, vim_item) vim_item.kind = lspkind.presets.default[vim_item.kind] local menu = source_mapping[entry.source.name] if entry.source.name == "cmp_tabnine" then if entry.completion_item.data ~= nil and entry.completion_item.data.detail ~= nil then menu = entry.completion_item.data.detail .. " " .. menu end vim_item.kind = "" end vim_item.menu = menu return vim_item end, }), }, sources = { { name = "nvim_lsp" }, { name = "cmp_tabnine" }, { name = "buffer" }, { name = "path" }, }, confirm_opts = { behavior = cmp.ConfirmBehavior.Replace, select = false, }, experimental = { ghost_text = false, }, }) local tabnine = require("cmp_tabnine.config") tabnine:setup({ max_lines = 1000, max_num_results = 20, sort = true, run_on_every_keystroke = true, snippet_placeholder = "..", ignored_file_types = { -- default is not to ignore -- uncomment to ignore in lua: -- lua = true }, show_prediction_strength = true, })

rust-tools.nvim

Posts with mentions or reviews of rust-tools.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-05.
  • [Experimental] Auto find Rust executables for DAP | Linux
    1 project | /r/neovim | 20 Aug 2023
    This is not a robust solution to the problem. I haven't worked on a large Rust project, so I do not know if this is valid for all kinds of Rust projects. Maybe there is a better debugging config setups/plugins out there (simrat39/rust-tools.nvim is one from what I have searched for). I plan to keep using this config, till it breaks; and try and fix it when it does.
  • NeoVim IDE setup
    2 projects | /r/rust | 5 Jun 2023
    rust-tools is what I'm currently using, https://github.com/simrat39/rust-tools.nvim
  • What editor are you using for Rust?
    8 projects | /r/rust | 1 Jun 2023
    I then took the snippet from, I also changed the path to the correct install path of the above. https://github.com/simrat39/rust-tools.nvim/wiki/Debugging
  • Neovim & Rust
    5 projects | /r/neovim | 26 May 2023
    rust-tools.nvim and crates.nvim should be helpful for you. :)
  • What's your current Vim+Rust setup?
    9 projects | /r/rust | 15 May 2023
    I'd start with nvim-treesitter, nvim-lspconfig, and use rust-tools.nvim as an accelerant. Any remaining advice I'd have is about Neovim but not about Rust. That advice would also be mostly questions of taste for this-or-that decisions.
  • Refactoring
    1 project | /r/rust | 14 May 2023
    Are you using https://github.com/simrat39/rust-tools.nvim/ ?
  • Rust + Neovim setup gotcha
    1 project | /r/neovim | 7 May 2023
    TIL that if you install Rust via Homebrew (like brew install rust), auto formatting (or more specifically, lsp formatting) doesn't work properly. I used both Rust Analyzer and rust-tools) to setup rust lsp and configured it with tons of options, thinking maybe something will work but somehow, one thing never did - auto formatting. This is the command I use for setting up auto formatting via lsp:
  • What setup do you use to program in rust?
    5 projects | /r/rust | 3 May 2023
    neovim + native lsp with rust-tools.nvim, running nixos so I use flakes for my dev environments
  • [Neovim] Rust-tools.nvim: outils pour des fonctionnalités supplémentaires sur Rust Analyzer
    1 project | /r/enfrancais | 19 Apr 2023
  • NVim, Rust, LSP (rust-analyzer + rust-tools) issue
    2 projects | /r/neovim | 16 Apr 2023
    I opened an issue https://github.com/simrat39/rust-tools.nvim/issues/369 after searching for such behavior in existing ones. But I also ask here in case it's a known problem.

What are some alternatives?

When comparing lspkind-nvim and rust-tools.nvim you can also consider the following projects:

cmp-nvim-lsp - nvim-cmp source for neovim builtin LSP client

NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]

LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.

vscode-codicons - The icon font for Visual Studio Code

helix - A post-modern modal text editor.

nvim-lspconfig - Quickstart configs for Nvim LSP

nvim-cmp - A completion plugin for neovim coded in Lua.

nvim-compe - Auto completion Lua plugin for nvim

coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

nlsp-settings.nvim - A plugin for setting Neovim LSP with JSON or YAML files

lsp_extensions.nvim - Repo to hold a bunch of info & extension callbacks for built-in LSP. Use at your own risk :wink: