Rust and Neovim - A Thorough Guide and Walkthrough

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • neovim

    Vim-fork focused on extensibility and usability

  • After extensively trying many text editors and IDEs, I have finally decided and settled on Neovim.

  • rust-tools.nvim

    Discontinued Tools for better development in rust using neovim's builtin lsp

  • rust-tools is a fantastic plugin to setup rust-analyzer with Neovim's LSP .

  • 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.

    InfluxDB logo
  • Cargo

    The Rust package manager

  • Access to Cargo commands.

  • tree-sitter-rust

    Rust grammar for tree-sitter

  • Tree-sitter is a fantastic parser generation and incremental parsing library, that supports Rust language bindings and has an available parser Rust tree-sitter-rust.

  • nvim-dap

    Debug Adapter Protocol client implementation for Neovim

  • There is also the alternative to use nvim-DAP instead of Vimspector. It looks like a fantastic initiative that is getting traction, but I still have not enabled it in my workflow. Definitely worth a look!

  • Lua

    Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

  • Have basic knowledge about Neovim and Lua:

  • rust-analyzer

    A Rust compiler front-end for IDEs

  • rust-analyzer is supported through Neovim's LSP, which essentially give us: Code completion. Some refactoring. Code analysis and linting. Go to definition. Code actions. Access to documentation. Show and go to references. Snippets support. Better syntax highlighting. Code formatting.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • vimspector

    vimspector - A multi-language debugging system for Vim

  • As of today, my prefered method is to use the Vimspector plugin with CodeLLDB.

  • Mermaid

    Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.

  • Rust and Neovim Set Up Diagram - made with https://mermaid.live

  • alacritty

    A cross-platform, OpenGL terminal emulator.

  • Alacritty terminal.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts