Skip to content

Modern lua Neovim configuration for low level programmers

License

Notifications You must be signed in to change notification settings

thebashpotato/neovim.config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neovim.config


Crates.io

A modular neovim config with a focus on C/C++ and Rust. Python and Lua are supported out of the box. Used professionally every day for the last 3 years in the embedded development field.

Table of Contents

Install

  1. Get Node/Npm via fnm: curl -fsSL https://fnm.vercel.app/install | bash
    • fnm install --latest

Arch Linux

  1. Pacman
sudo pacman -S base-devel cmake python-pip luarocks wl-clipboard xlclip python-virtualenv clang python-pynvim rustup
  1. Paru
paru -S cmake-format cmake-language-server
  1. Steps 1 and 2 together
paru -S cmake-format cmake-language-server base-devel cmake python-pip luarocks wl-clipboard xlclip python-virtualenv clang python-pynvim rustup cmake-format cmake-language-server
  1. Npm
npm install -g neovim tree-sitter-cli
  1. Rustup
rustup component add rust-analyzer

Neovim Config

There isn't much to install, just copy the nvim directory to ~/.config/nvim. But for the sake of commands..

# clone the repo to home
git clone --depth 1 https://github.com/thebashpotato/neovim.config.git ~/

# make a soft link to the config
ln -s $(pwd)/neovim.config/nvim ~/.config/nvim

# open nvim and let it set up
nvim

Usage

See the Dap configs for per-project language configurations.

Copy ./dap-configs/nvim-dap-cpp.lua to your_project/.nvim-dap.lua and update the dap.configurations. to match your binary.

Maintainers

@thebashpotato

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

AGPLv3 © 2022 Matt Williams

About

Modern lua Neovim configuration for low level programmers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages