Neovim configuration
Find a file
2026-06-03 23:29:18 +01:00
lua feat: add broader language support 2026-06-03 23:29:18 +01:00
bootstrap.sh docs: add distro bootstrap guide 2026-06-03 23:25:13 +01:00
init.lua feat: add broader language support 2026-06-03 23:29:18 +01:00
install.sh fix: handle existing nvim config dir 2026-06-03 23:18:21 +01:00
lazy-lock.json feat: add neovim configuration 2026-06-03 22:47:03 +01:00
README.md feat: add broader language support 2026-06-03 23:29:18 +01:00

Neovim config

This repo contains my Neovim config only. You still need Neovim and a few system tools installed.

It is meant to work after a plain git clone plus the bootstrap script.

Fastest setup

git clone https://git.sailorpunisher.com/sailor/nvim-config.git ~/nvim-config
sh ~/nvim-config/bootstrap.sh
nvim

bootstrap.sh installs the dependencies for your distro, then installs the config.

If you already have the repo cloned and only want to refresh the config:

sh ~/.config/nvim/install.sh

What gets installed

  • git
  • neovim
  • nodejs + npm (for Mason / bashls / TypeScript / JSON / YAML LSPs)
  • ripgrep
  • fd

Debian / Ubuntu

sudo apt update
sudo apt install -y git neovim nodejs npm ripgrep fd-find

Then run:

sh ~/nvim-config/bootstrap.sh

Arch Linux

sudo pacman -S --needed git neovim nodejs npm ripgrep fd

Then run:

sh ~/nvim-config/bootstrap.sh

Gentoo

sudo mkdir -p /etc/portage/package.use
printf '%s\n' 'net-libs/nodejs npm' | sudo tee /etc/portage/package.use/nvim-config-nodejs
sudo emerge --ask dev-vcs/git app-editors/neovim net-libs/nodejs sys-apps/ripgrep sys-apps/fd

Then run:

sh ~/nvim-config/bootstrap.sh

Notes

  • First run downloads plugins through lazy.nvim.
  • The config lives in ~/.config/nvim.
  • Out of the box it covers C, C++, Rust, Bash, Lua, JSON, YAML, Markdown, JavaScript, TypeScript, and GLSL.
  • Shader extensions like .vert, .frag, .comp, .geom, .rgen, .rchit, .rmiss, .rint, and .rcall are treated as GLSL.
  • nodejs/npm are required so Mason can install the JS/TS/YAML/JSON tooling.