Skip to content

A sample minimal Neovim configuration for Rust using LSP, Treesitter and Mason plugins

Notifications You must be signed in to change notification settings

nhudson/nvim-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9e60d1a · Jan 10, 2023

History

2 Commits
Jan 10, 2023
Jan 10, 2023
Jan 10, 2023

Repository files navigation

Minimal Neovim Rust Configuration

To test

If you wish to test this out, check out this repo and run the following command

cd nvim-rust
NVIM_CONFIG_HOME=`pwd` XDG_CONFIG_HOME=$NVIM_CONFIG_HOME XDG_DATA_HOME=$NVIM_CONFIG_HOME/.local/share XDG_CACHE_HOME=$NVIM_CONFIG_HOME/.cache XDG_STATE_HOME=$NVIM_CONFIG_HOME/.local/state nvim +PackerSync

This will install all the plugins listed in nvim/lua/config/plugins.lua.

If you close and reopen Neovim, it should then start to install all the Treesitter and Mason tooling for you automatically. If it doesn't you can install what you need with :Mason and :TSInstall.

Install & Use

If you wish to use this configuration then just copy the contents of the nvim directory to $HOME/.config/nvim and use Neovim as normal

About

A sample minimal Neovim configuration for Rust using LSP, Treesitter and Mason plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages