nixos/install.sh
2022-11-01 16:02:06 +00:00

18 lines
584 B
Bash
Executable file

#! /usr/bin/env sh
# Install Packer
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim
# Link config directories
mkdir -p $HOME/.config/nvim/
ln -s $(readlink -f init.lua) $HOME/.config/nvim/init.lua
ln -s $(readlink -f lua) $HOME/.config/nvim/lua
# Install required python plugins into dedicated env
pyenv virtualenv neovim3 # Assumes working pyenv
pyenv activate neovim3
pip install -U pip setuptools wheel
pip install -U pynvim "python-lsp-server[all]" fortls pylsp-mypy python-lsp-black
pyenv deactivate