Files
omarchy/install/nvim.sh
David Heinemeier Hansson 6409d5765c Split out nvim installer
So we dont have to rerun if already there
2025-06-24 14:53:50 -07:00

11 lines
379 B
Bash

if ! command -v nvim &>/dev/null; then
yay -S --noconfirm --needed nvim luarocks tree-sitter-cli
# Install LazyVim
rm -rf ~/.config/nvim
git clone https://github.com/LazyVim/starter ~/.config/nvim
cp -R ~/.local/share/omarchy/config/nvim/* ~/.config/nvim/
rm -rf ~/.config/nvim/.git
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua
fi